শ্রাবণের লেখালেখি
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)
Uri problem 1156 #include<stdio.h> int main(){ float sum=0; float i; float j=1; for(i=1,j=1 ; i<=20,j<=10000000 ; i=i+2,...
No comments:
Post a Comment