Created
December 31, 2022 10:24
-
-
Save Kanav-Arora/b0521294f27a970e83d84dfe649e977b to your computer and use it in GitHub Desktop.
This file contains a template for Competitive Programming with Faster Inputs and Outputs.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
void solve() | |
{ | |
} | |
int main() | |
{ | |
ios_base::sync_with_stdio(false); | |
cin.tie(NULL); | |
#ifndef ONLINE_JUDGE | |
freopen("input.txt", "r", stdin); | |
freopen("error.txt", "w", stderr); | |
freopen("output.txt", "w", stdout); | |
#endif | |
int t = 1; | |
cin >> t; | |
while (t--) | |
{ | |
int a,b; | |
cin>>a>>b; | |
cout <<(a+b); | |
} | |
cerr << "time taken : " << (float)clock() / CLOCKS_PER_SEC << " secs" << endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment