fork download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int a,b,t,i;
  5. scanf("%d",&t);
  6. for(i=0;i<t;i++)
  7. {
  8. scanf("%d %d",&a,&b);
  9. if(a<=10 && b<=10)
  10. {
  11. printf("Case %d: %d\n",i+1,a+b);
  12. }
  13. }
  14. return 0;
  15. }
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
Standard output is empty