SHARE
TWEET

lightoj - 1294 - Positive Negative Sign

jakaria_hossain Aug 23rd, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. typedef long long ll;
  4. int main()
  5. {
  6.    int t,c;
  7.    cin>>t;
  8.    for(c=1;c<=t;c++)
  9.    {
  10.        ll n,m;
  11.        cin>>n>>m;
  12.        cout<< "Case "<<c<<": "<<n*m/2<<endl;
  13.  
  14.    }
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top