Category: Problem Solution
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…
Took hints from here: http://www.outsbook.com/uva/?page=latest_post&category=-1&id=12541 and https://github.com/morris821028/UVa/blob/master/volume125/12541%20-%20Birthdates.cpp Code: #include<bits/stdc++.h> using namespace std; int main() { //freopen(“in.txt”,”r”,stdin); int n,i;…
Editorial: Actually I was facing the problem how can make the second digit from the left that…
Editorial: we need to read those : https://en.wikipedia.org/wiki/Quadrilateral https://www.mathsisfun.com/quadrilaterals.html And one thing to be remebered that to…
Recent Comments