শ্রাবণের লেখালেখি
About Me
Ruhul's Blog
View my complete profile
Monday, 10 April 2017
UVA 12372 solve
#include<stdio.h>
int main()
{
int i,T,L,W,H;
int n=1;
scanf("%d",&T);
for(i=0;i<T;i++)
{
scanf("%d%d%d",&L,&W,&H);
printf("case %d: ",n++);
if(L<=20&W<=20&H<=20)
printf("Good\n");
else
printf("bad\n");
}
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
(no title)
UVA 10302 solve: 10302 - Summation of Polynomials #include<bits/stdc++.h> using namespace std; int main() { long l...
No comments:
Post a Comment