Category: ACM
1st approach: #include<iostream> #include<cstdio> using namespace std; int main() { int counts=0; for(int i=1000; i>=1; i–) {…
http://ideone.com/ItvUGS
I was using code blocks but it was giving me compiler error for c++11 was not on…
Today I faced this problem.I tried all method found on the net but didn’t worked anything.So I…
My code: #include<bits/stdc++.h> using namespace std; int main() { int n,m,i,j; while(scanf(“%d %d”,&n,&m)==2) { int cnt=0; for(i=0;…
Here to remember: – Theatre square is rectangular shape n X m meters – Each flagstone is…
Recent Comments