DBP625

Greetings-from-Lightoj.

Apr 4th, 2022 (edited)
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. //Problem 1:
  2.  
  3. #include<bits/stdc++.h>
  4. using namespace std;
  5. int main()
  6. {
  7.     int t,a,b;
  8.     cin>>t;
  9.     for(int i=0;i<t;i++)
  10.     {
  11.         cin>>a>>b;
  12.         cout<<"Case"<<" "<<i+1<<":"<<" "<<(a+b)<<endl;
  13.     }
  14. }
Add Comment
Please, Sign In to add comment