// C code for 13675. Tanks Problem code: NEWTANK
#include<stdio.h>
int main()
{
int test,v,t,i;
scanf("%d",&test);
for(i=1;i<=test;i++)
{
scanf("%d%d",&v, &t);
printf("Case #%d: %d\n",i,v*t);
}
return 0;
}
#include<stdio.h>
int main()
{
int test,v,t,i;
scanf("%d",&test);
for(i=1;i<=test;i++)
{
scanf("%d%d",&v, &t);
printf("Case #%d: %d\n",i,v*t);
}
return 0;
}
No comments:
Post a Comment