-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtemplate.cpp
32 lines (32 loc) · 878 Bytes
/
template.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
#define mod 1000000007 // common value of MOD on codechef
typedef long long ll;
typedef long double ld;
template <typename T> using indexed_set = tree<T, null_type, less<>, rb_tree_tag, tree_order_statistics_node_update>; // an improved RB Tree for getting node <---> order
int main()
{
/* Reading from and Writing to Files
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
*/
/* fast input and output
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
*/
ll t, n, i;
cin>>t;
while(t--)
{
cin>>n;
cout<<t<<" "<<n<<"\n";
}
/* Closing STDIN and STDOUT files
fclose(stdin);
fclose(stdout);
*/
return 0;
}