Tag: UVA
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…
By thinking 24 hr++ I have solved this problem.I got guidance from my friend M.H Riyad also..He…
#include<stdio.h> int main() { int i,t,a,b; scanf(“%d”,&t); for(i=0;i<t;i++){ scanf(“%d %d”,&a,&b); if(a<b) printf(“<\n”); else if(a>b) printf(“>\n”); else printf(“=\n”);…
#include<stdio.h> int main() { int N; while(scanf(“%d”,&N)==1) { if(N==0) break; int G=0,i,j; for(i=1;i<N;i++) { for(j=i+1;j<=N;j++) { G+=GCD(i,j);…
Recent Comments