-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMytemplate.cpp
More file actions
43 lines (36 loc) · 796 Bytes
/
Mytemplate.cpp
File metadata and controls
43 lines (36 loc) · 796 Bytes
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
33
34
35
36
37
38
39
40
41
42
43
#include <bits/stdc++.h>
using namespace std;
// type definitions
typedef long long ll;
typedef map<int, int> mii;
typedef map<int, int>::iterator miii;
typedef vector<int> vi;
typedef vector<ll> vll;
typedef pair<int, int> pii;
typedef set<int> si;
// input and output setups
ifstream yyy("input.txt");
ofstream zzz("output.txt");
int main()
{
int test = 0;
yyy >> test;
while(test--)
{
int n, temp;
yyy >> n;
vi array(n);
for(int i = 0; i< n; i++)
{
yyy >> array[i];
}
/*
YOUR CODE HERE
*/
for(int i = 0; i< n; i++)
{
zzz << array[i]<< ' ';
}
zzz << endl;
return 0;
}