-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaugStarters.cpp
61 lines (48 loc) · 1.08 KB
/
augStarters.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
#include<bits/stdc++.h>
using namespace std;
#define fast ios_base::sync_with_stdio(false);\
cin.tie(NULL);
#define ll long long int
void hardestProblemBet() {
int a, b, c;
cin >> a >> b >> c;
if (c < a && c < b) cout << "Alice\n";
else if (b < a && b < c) cout << "Bob\n";
else cout << "Draw\n";
}
void oddRepeat() {
int n, k, s;
cin >> n >> k >> s;
int sum {}, j = 1;
for (int i = 0; i < n; ++i, j+=2) {
sum += j;
}
int ans = (s-sum) / (k-1);
cout << ans << endl;
}
void removeOneEle() {
ll n;
cin >> n;
ll a[n], b[n];
for (int i = 0; i < n; ++i) cin >> a[i];
for (int i = 0; i < n-1; ++i) cin >> b[i];
for(int i = 0; i < n; ++i) {
for(int j = 0; j < n; ++j) {
if (b[i]-a[j] != b[i]-a[j+1]) {
continue;
}
}
}
}
int main() {
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
int t;
cin >> t;
while(t--) {
removeOneEle();
}
return 0;
}