let's start Code

Showing posts with label Binary Search. Show all posts
Showing posts with label Binary Search. Show all posts

Binary Search

Binary Search 01. বাইনারি সার্চ – ১(শাফায়েত আশরাফ) 02. বাইনারি সার্চ - ২(বাইসেকশন) - শাফায়েত আশরাফ 03. বাইসেকশন মেথড - আহমাদ ফাইয়াজ 04. বাইনারি সার্চ - হাসান আবদুল্লাহ 05. Painless Binary Search - আবু আসিফ খান চৌধুরী 06. Binary Search part - 1 - শাকিল আহমেদ 07. TopCoder Tutorial 08. One Problem from...
Share:

Max and Electrical Panel

Max and Electrical Panel  Solution 01: //copy 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 #include<bits/stdc++.h> using namespace std; int main() { int n,c; cin >> n >>c; int lo = 0, hi = n, res = 0; while(hi-lo > 1){ if(res)cout << 2<<endl<<flush; ...
Share:

About

let's start CODE

Popular Posts

Labels

Categories