Advertisement
erfanul007

Light OJ 1294

Jan 2nd, 2019
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. #include<cmath>
  3. #define pi 2*acos(0.0)
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. long long int t,i;
  9. cin>>t;
  10. for(i=1;i<=t;i++){
  11. long long int x,y;
  12. cin>>x>>y;
  13. cout<<"Case "<<i<<": "<<(x*y)/2<<endl;
  14. }
  15. return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement