-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.cpp
106 lines (89 loc) · 1.63 KB
/
main.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
/**
* author: ChiyoYuki
**/
#define _CRT_SECURE_NO_WARNINGS
#include <bits/stdc++.h>
using namespace std;
#define st first
#define nd second
#define elif else if
typedef long long ll;
typedef unsigned long long ull;
typedef double lf;
typedef pair<ll, ll> pll2;
typedef priority_queue<ll> pqll;
typedef vector<char> vc;
typedef vector<ll> vll;
typedef vector<vector<ll>> vvll;
typedef vector<pair<ll, ll>> vpll2;
typedef string str;
const int intinf = 0x3f3f3f3f;
const int mod9 = 998244353;
const int moda = 1000000007;
namespace i11e
{
template <typename __Tp>
void ask(__Tp a);
template <typename __Tp>
void ask(__Tp a, __Tp b);
void ans(ll a);
void ans(str s);
void ans(vll a);
}
void solve(void)
{
ll i = 0, j = 0;
ll n = 0, m = 0;
ll sum = 0;
// cin>>n;
// vll a(n);
// for(i=0;i<n;i++) cin>>a[i];
cout << '\n';
return;
}
/*
*/
int main(void)
{
ios::sync_with_stdio(false), cin.tie(0), cout.tie(0);
unsigned long long _ = 1;
cin >> _;
while (_--)
solve();
return 0;
}
template <typename __Tp>
void i11e::ask(__Tp a)
{
cout << "? " << a << endl;
cout.flush();
return;
}
template <typename __Tp>
void i11e::ask(__Tp a, __Tp b)
{
cout << "? " << a << ' ' << b << endl;
cout.flush();
return;
}
void i11e::ans(ll a)
{
cout << "! " << a << endl;
cout.flush();
return;
}
void i11e::ans(str s)
{
cout << "! " << s << endl;
cout.flush();
return;
}
void i11e::ans(vll a)
{
cout << "!";
for (auto ii = a.begin(); ii != a.end(); ii++)
cout << ' ' << (*ii);
cout << endl;
cout.flush();
return;
}