QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#322637 | #5533. Trick | tuanlinh123 | 0 | 15ms | 3828kb | C++20 | 1.1kb | 2024-02-07 13:20:08 | 2024-02-07 13:20:08 |
Judging History
answer
#include<bits/stdc++.h>
#define ll long long
#define pll pair<ll, ll>
#define pb push_back
#define mp make_pair
#define fi first
#define se second
#define ld long double
using namespace std;
int main()
{
ios_base::sync_with_stdio(0);
cin.tie(0); cout.tie(0);
ll t, type; cin >> t >> type;
auto assistant=[&]()
{
ll n, sum=0, fa=0, fb=0, Mod; cin >> n, Mod=n*2+1;
vector <ll> a(n);
for (ll& i:a) cin >> i, sum=(sum+i)%Mod;
sort(a.begin(), a.end());
for (ll i=0; i<n; i++)
for (ll j=i+1; j<n; j++)
{
if ((a[i]+a[j])%Mod==sum) fa=a[i], fb=a[j];
if ((a[i]+a[j]+n)%Mod==sum) fa=a[j], fb=a[i];
}
cout << fa << " " << fb << "\n";
};
auto magician=[&]()
{
ll n, Mod; cin >> n, Mod=n*2+1;
ll fa1, fb1, fa2, fb2; cin >> fa1 >> fb1 >> fa2 >> fb2;
ll sum=(fa1<fb1?fa1+fb1:fa1+fb1+n)+(fa2<fb2?fa2+fb2:fa2+fb2+n);
sum=((n*2+1-sum)%Mod+Mod)%Mod; cout << sum << "\n";
};
while (t--)
{
if (type<=2) assistant();
else magician();
}
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 0
Wrong Answer
Test #1:
score: 0
Wrong Answer
time: 6ms = 0ms + 6ms
memory: 0kb,3820kb
input:
12012 1 6 0 1 2 3 4 5 6 0 1 2 3 4 5 6 0 1 2 3 4 5 6 0 1 2 3 4 5 6 0 1 2 3 4 5 6 0 1 2 3 4 5 6 0 1 2 3 4 5 6 0 1 2 3 4 6 6 0 1 2 3 4 6 6 0 1 2 3 4 6 6 0 1 2 3 4 6 6 0 1 2 3 4 6 6 0 1 2 3 4 6 6 0 1 2 3 4 6 6 0 1 2 3 5 6 6 0 1 2 3 5 6 6 0 1 2 3 5 6 6 0 1 2 3 5 6 6 0 1 2 3 5 6 6 0 1 2 3 5 6 6 0 1 2 3 5 ...
output:
5 4 5 4 5 4 5 4 5 4 5 4 5 4 6 4 6 4 6 4 6 4 6 4 6 4 6 4 6 5 6 5 6 5 6 5 6 5 6 5 6 5 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 5 1 5 1 5 1 5 1 5 1 5 1 5 3 4 3 4 3 4 3 4 3 4 3 4 3 4 3 5 3 5 3 5 3 5 3 5 3 5 3 5 7 4 7 4 7 4 7 4 7 4 7 4 7 4 7 5 7 5 7 5 7 5 7 5 7 5 7 5 2 4 2 4 2 4 2 4 2 4 2 4 2 4 3 4 3 4 3 4 3 4 3 4 ...
input:
12012 2 6 7 8 9 10 11 12 6 6 8 9 10 11 12 6 6 7 9 10 11 12 6 6 7 8 10 11 12 6 6 7 8 9 11 12 6 6 7 8 9 10 12 6 6 7 8 9 10 11 6 7 8 9 10 11 12 6 5 8 9 10 11 12 6 5 7 9 10 11 12 6 5 7 8 10 11 12 6 5 7 8 9 11 12 6 5 7 8 9 10 12 6 5 7 8 9 10 11 6 7 8 9 10 11 12 6 4 8 9 10 11 12 6 4 7 9 10 11 12 6 4 7 8 1...
output:
8 10 8 9 12 11 12 10 12 9 12 8 10 9 8 10 12 11 12 10 11 10 11 9 10 9 10 8 8 10 12 10 11 10 12 8 11 8 10 8 9 8 8 10 11 10 11 9 11 8 11 7 9 8 9 7 8 10 11 9 10 9 10 8 11 12 10 12 10 11 8 10 10 9 11 7 11 12 9 7 9 12 9 11 8 10 10 8 11 12 10 12 9 12 8 12 9 10 8 9 12 11 11 10 12 8 11 8 10 8 9 8 8 9 12 10 1...
input:
12012 3 6 5 4 8 10 6 5 4 8 9 6 5 4 12 11 6 5 4 12 10 6 5 4 12 9 6 5 4 12 8 6 5 4 10 9 6 6 4 8 10 6 6 4 12 11 6 6 4 12 10 6 6 4 11 10 6 6 4 11 9 6 6 4 10 9 6 6 4 10 8 6 6 5 8 10 6 6 5 12 10 6 6 5 11 10 6 6 5 12 8 6 6 5 11 8 6 6 5 10 8 6 6 5 9 8 6 1 4 8 10 6 1 4 11 10 6 1 4 11 9 6 1 4 11 8 6 1 4 11 7 ...
output:
6 7 8 9 10 11 12 5 7 8 9 10 11 12 4 7 8 9 10 11 12 3 7 8 9 10 11 12 2 7 8 9 10 11 12 1 7 8 9 10 11 12 0 7 8 9 10 11 12 5 6 8 9 10 11 12 4 6 8 9 10 11 12 3 6 8 9 10 11 12 2 6 8 9 0 11 12 1 6 8 9 10 11 12 0 6 8 9 10 11 12 4 5 8 9 10 11 12 3 5 0 9 10 11 12 2 5 8 9 10 11 12 1 5 8 9 10 11 12 0 5 8 9 10 1...
result:
wrong answer the card you returned is 0, but expected 10 (test case 75)
Subtask #2:
score: 0
Skipped
Subtask #3:
score: 0
Wrong Answer
Test #11:
score: 30
Accepted
time: 15ms = 0ms + 15ms
memory: 0kb,3556kb
input:
6525 1 6 10 1 11 3 12 6 6 1 7 10 12 5 6 6 0 10 12 7 9 8 6 12 1 8 4 7 11 6 11 8 9 4 10 6 6 0 7 2 3 4 5 6 0 8 3 10 11 6 6 0 1 2 4 7 6 6 0 1 11 9 5 6 6 7 1 12 8 6 5 7 0 1 13 10 12 5 6 7 0 14 2 3 4 12 6 7 11 1 3 8 12 6 13 7 0 1 2 3 13 5 14 7 11 9 10 8 4 14 7 7 0 8 14 3 4 13 11 7 0 10 2 14 8 5 6 7 0 13 2...
output:
6 11 12 10 8 12 7 4 10 6 3 5 11 8 1 6 1 5 12 8 13 12 12 14 11 13 13 3 8 10 13 3 5 10 0 2 3 13 9 10 13 10 16 12 7 8 6 16 15 9 8 13 8 9 15 11 10 14 16 7 18 15 17 11 13 7 12 17 14 15 8 13 13 15 3 14 16 18 15 2 13 20 18 11 18 13 7 13 19 11 10 16 7 15 13 20 13 7 6 15 16 18 19 14 21 20 14 15 20 22 14 18 1...
input:
6525 2 6 0 2 4 5 8 9 6 2 3 4 8 9 11 6 1 2 3 4 5 11 6 0 3 5 6 9 10 6 0 1 3 5 7 12 6 1 6 8 10 11 12 6 2 4 5 7 9 12 6 5 8 9 10 11 12 6 3 4 7 8 10 12 6 0 2 3 4 9 11 7 2 3 4 7 8 9 11 7 1 5 7 8 9 10 13 7 0 4 5 7 9 10 14 7 4 6 7 8 9 10 11 7 0 1 2 3 5 6 13 7 1 2 5 7 9 10 12 7 1 3 4 9 11 12 13 7 1 3 4 6 10 1...
output:
5 4 3 8 4 3 9 5 3 12 10 12 4 9 12 11 8 10 0 3 3 11 10 13 9 10 10 8 5 3 7 9 11 12 6 14 12 10 12 7 4 9 11 13 9 11 10 11 8 12 12 11 13 14 9 12 11 13 8 11 17 11 15 18 16 12 2 15 9 13 18 12 12 16 15 11 14 11 17 14 19 18 14 15 16 6 20 19 14 18 11 17 20 18 17 14 19 11 12 13 22 14 11 21 13 12 17 20 11 14 12...
input:
6525 3 6 6 11 5 4 6 12 10 3 8 6 8 12 4 3 6 7 4 9 5 6 10 6 3 12 6 3 5 10 12 6 11 8 4 9 6 1 6 12 11 6 1 5 8 10 6 12 8 0 3 7 13 12 3 11 7 12 14 10 13 7 11 13 9 10 7 13 3 10 8 7 8 10 5 3 7 13 3 7 9 7 5 10 11 12 7 0 2 6 14 7 3 13 12 10 7 9 10 12 7 8 13 10 4 9 8 16 12 11 13 8 7 8 9 11 8 6 16 10 11 8 15 9 ...
output:
7 0 6 2 2 9 1 3 2 10 14 11 2 12 12 6 7 8 0 0 7 8 16 8 16 16 7 13 3 1 16 6 10 11 6 16 1 5 8 10 4 16 11 15 12 9 14 10 14 17 11 16 4 3 2 4 13 1 12 15 22 12 0 4 21 10 17 21 18 21 0 15 9 18 3 12 19 10 9 14 2 20 5 22 20 6 9 17 9 17 7 13 15 4 19 4 6 18 13 10 10 22 6 20 3 18 2 21 7 13 5 1 19 17 0 8 16 22 12...
result:
ok very good job! (6525 test cases)
Test #12:
score: 0
Accepted
time: 14ms = 0ms + 14ms
memory: 0kb,3752kb
input:
6525 1 6 0 1 7 3 8 9 6 12 1 2 8 4 5 6 0 1 3 10 8 11 6 0 1 8 7 10 12 6 11 1 9 7 4 8 6 0 12 2 3 4 9 6 0 1 2 3 8 7 6 0 10 2 3 6 5 6 0 1 2 10 12 9 6 12 9 10 3 4 8 7 14 1 12 7 4 5 6 7 1 9 3 4 12 10 13 7 0 1 10 8 4 7 12 7 0 1 8 12 4 10 11 7 0 12 13 3 10 5 8 7 0 14 13 12 9 5 6 7 0 1 10 8 9 13 14 7 8 11 2 3...
output:
7 8 8 5 11 3 12 7 7 1 9 2 8 7 3 10 9 12 8 12 7 12 10 12 12 8 4 12 8 13 13 9 10 8 7 3 9 14 12 6 11 10 16 9 14 9 6 11 9 16 11 13 7 14 11 14 15 9 8 11 18 14 7 8 10 13 18 5 13 14 7 10 5 14 12 4 17 15 4 2 3 8 12 20 14 15 17 12 12 20 15 12 16 13 13 12 14 13 19 7 18 11 15 14 13 12 12 17 19 10 21 14 12 17 1...
input:
6525 2 6 2 4 6 10 11 12 6 0 3 6 9 10 11 6 4 5 6 7 9 12 6 2 3 4 5 6 11 6 0 2 3 6 10 12 6 1 5 7 8 10 11 6 4 6 9 10 11 12 6 1 4 8 9 11 12 6 3 5 6 7 8 11 6 0 1 2 5 6 7 7 0 2 3 9 10 11 13 7 2 5 6 7 8 11 14 7 2 3 5 6 9 11 14 7 2 3 5 6 9 13 14 7 1 2 4 6 7 11 14 7 1 2 3 4 7 8 11 7 3 4 5 6 7 11 12 7 0 1 5 6 ...
output:
11 2 11 9 5 12 2 3 12 2 5 11 11 9 8 11 6 8 2 6 9 2 11 5 9 11 9 13 4 11 11 3 7 11 5 13 12 10 11 10 15 12 12 13 15 12 16 12 14 8 12 5 13 11 10 16 14 12 14 6 10 12 16 14 9 11 12 17 2 5 18 15 4 15 15 14 18 5 13 18 11 6 11 14 13 12 7 6 17 19 20 17 18 17 14 20 16 6 20 14 14 16 20 22 17 20 20 19 14 20 19 1...
input:
6525 3 6 7 8 11 2 6 8 5 11 9 6 11 3 5 12 6 12 7 2 3 6 7 1 12 2 6 9 2 5 11 6 8 7 11 9 6 3 10 8 11 6 9 12 6 8 6 8 12 2 6 7 7 12 9 2 7 10 12 11 5 7 12 8 9 11 7 4 12 9 13 7 8 13 4 11 7 13 9 11 3 7 10 8 7 11 7 7 3 5 13 7 9 14 12 10 7 12 6 11 10 8 11 10 15 12 8 16 9 12 13 8 14 9 15 12 8 6 11 16 12 8 9 16 ...
output:
5 7 2 9 5 6 5 7 4 11 8 0 13 7 9 10 2 10 8 7 4 10 2 15 13 2 15 0 2 4 13 3 14 15 4 17 0 13 3 11 4 6 20 1 16 0 0 15 15 4 22 10 19 13 18 5 13 3 19 17 5 0 3 17 16 11 19 9 3 14 14 15 22 7 1 18 13 5 1 8 17 9 5 8 19 0 14 5 8 4 21 17 10 12 20 22 20 3 12 22 11 7 22 19 16 6 19 20 1 3 9 6 3 5 3 19 7 3 18 5 22 2...
result:
ok very good job! (6525 test cases)
Test #13:
score: 0
Accepted
time: 14ms = 0ms + 14ms
memory: 0kb,3828kb
input:
6525 1 6 7 1 3 8 5 10 6 0 1 2 12 9 6 6 0 1 2 3 4 11 6 0 11 2 3 8 12 6 0 1 2 3 4 8 6 0 12 2 3 11 5 6 6 1 2 3 8 11 6 7 1 11 12 9 5 6 0 10 2 3 7 6 6 11 8 3 4 9 6 7 8 1 2 11 4 5 7 7 0 13 10 11 8 5 6 7 9 2 3 4 13 6 10 7 8 2 3 4 14 9 7 7 0 1 2 3 10 9 14 7 12 9 10 7 8 11 6 7 0 9 2 12 4 8 7 7 0 10 12 14 13 ...
output:
8 7 9 2 11 4 11 12 8 4 11 3 2 3 7 12 6 3 6 9 11 5 10 13 4 13 8 9 10 14 8 10 12 8 13 10 0 3 11 14 14 15 15 14 11 6 13 16 7 11 12 11 11 10 13 14 16 4 5 8 10 16 4 15 16 10 18 10 18 14 13 18 15 16 17 6 6 16 10 14 13 19 10 18 19 12 14 19 18 13 6 15 7 12 17 13 15 16 15 19 12 21 18 13 21 13 20 11 12 15 19 ...
input:
6525 2 6 0 4 6 9 11 12 6 4 5 7 8 10 11 6 5 6 7 8 10 12 6 1 4 5 6 9 10 6 5 6 7 9 10 12 6 1 4 7 8 9 10 6 0 4 5 9 10 12 6 0 2 3 4 8 10 6 1 5 8 9 11 12 6 0 1 5 7 10 12 7 0 3 9 10 12 13 14 7 1 2 3 4 7 12 14 7 1 5 7 8 11 12 14 7 0 5 6 10 11 12 13 7 4 5 6 7 8 11 12 7 0 1 2 3 4 5 13 7 1 3 5 10 11 13 14 7 1 ...
output:
12 11 8 11 10 12 10 6 10 7 4 9 12 9 4 10 9 11 10 12 14 10 14 7 14 7 0 12 11 12 4 2 13 14 11 3 12 14 8 12 12 10 7 16 14 13 7 14 4 13 13 10 4 13 6 16 14 13 14 6 6 18 14 18 11 7 17 6 15 16 12 14 18 14 18 16 8 18 13 17 18 14 7 16 18 15 13 15 14 20 11 17 18 17 14 20 12 13 9 12 6 17 19 17 16 14 15 16 19 1...
input:
6525 3 6 8 7 12 11 6 9 2 8 11 6 11 4 10 12 6 11 12 10 6 6 8 4 10 7 6 11 3 4 9 6 2 3 12 9 6 7 12 4 10 6 6 3 9 11 6 6 9 10 12 7 11 5 14 10 7 10 13 14 7 7 4 13 14 7 7 8 9 0 12 7 10 14 11 12 7 8 10 4 2 7 12 8 13 14 7 13 10 11 3 7 0 3 12 14 7 11 14 8 12 8 14 15 12 10 8 15 14 7 16 8 11 6 14 13 8 13 16 7 1...
output:
2 3 9 7 11 6 7 6 4 2 6 9 0 1 13 14 6 9 1 0 9 8 8 1 16 6 5 2 5 10 7 6 14 7 4 0 4 1 9 3 10 12 0 2 9 14 20 10 7 8 13 3 6 19 18 1 16 13 20 20 7 0 18 19 7 18 20 5 6 12 15 16 19 1 3 6 8 1 12 22 3 11 18 8 10 16 4 12 8 4 11 13 19 2 4 18 22 3 13 4 22 14 1 4 1 16 1 0 6 7 4 15 7 4 8 2 1 14 16 10 13 5 15 8 3 6 ...
result:
ok very good job! (6525 test cases)
Test #14:
score: 0
Accepted
time: 14ms = 0ms + 14ms
memory: 0kb,3812kb
input:
6525 1 6 10 1 2 4 12 7 6 11 12 2 8 9 5 6 0 10 9 11 12 8 6 8 1 10 3 6 5 6 0 1 8 12 7 6 6 0 10 2 3 4 6 6 12 6 2 3 4 10 6 12 1 2 3 8 6 6 0 8 11 3 7 5 6 0 7 9 4 10 11 7 0 7 13 3 4 5 6 7 12 10 2 3 4 5 6 7 10 11 2 3 4 12 7 7 11 10 9 4 5 6 14 7 0 12 13 3 8 6 11 7 7 13 2 12 14 5 9 7 0 8 2 11 13 12 7 7 13 8 ...
output:
10 7 9 12 10 8 8 6 8 7 2 10 12 6 12 1 8 7 4 11 13 3 2 10 7 12 5 9 11 12 13 12 11 12 13 8 5 4 14 5 10 7 11 14 16 11 5 12 11 13 10 3 8 15 13 7 2 13 10 9 18 7 18 12 5 9 15 7 9 10 12 16 14 12 16 8 14 16 12 14 14 15 11 17 18 12 10 9 11 20 20 18 14 11 10 8 10 11 17 18 16 22 20 19 14 15 20 14 6 15 13 14 18...
input:
6525 2 6 0 5 6 8 9 11 6 0 1 3 4 6 10 6 2 3 4 5 6 7 6 0 2 4 7 9 12 6 2 4 5 9 10 11 6 1 5 8 9 11 12 6 0 1 5 7 8 9 6 0 4 5 7 9 11 6 1 2 4 6 9 12 6 1 2 5 6 8 12 7 1 2 8 9 10 12 14 7 0 1 7 8 9 11 14 7 0 1 6 8 9 13 14 7 0 1 3 7 8 12 13 7 1 2 4 7 9 10 14 7 0 1 3 4 6 10 11 7 1 4 5 6 9 10 14 7 0 1 5 9 10 12 ...
output:
11 9 1 10 5 3 9 12 5 10 9 11 8 9 4 0 9 12 2 6 12 14 9 11 8 13 1 13 7 10 10 3 9 10 9 12 10 9 1 6 12 16 9 12 15 8 15 11 3 15 12 13 10 1 11 12 11 9 16 13 11 16 16 14 14 18 18 5 18 14 15 7 13 11 11 18 18 17 10 17 8 19 13 18 3 11 18 13 14 18 9 14 15 18 16 12 7 17 12 14 17 7 17 14 19 17 12 19 12 22 19 18 ...
input:
6525 3 6 10 7 11 9 6 9 12 1 10 6 10 8 5 3 6 8 6 9 12 6 8 7 5 10 6 2 10 9 11 6 12 6 8 9 6 12 1 4 0 6 8 7 9 12 6 4 11 2 6 7 13 3 12 14 7 2 10 9 11 7 7 12 8 13 7 5 9 1 13 7 11 12 7 10 7 13 12 10 3 7 11 12 9 10 7 13 8 9 12 7 5 4 10 9 7 14 5 1 6 8 10 7 12 16 8 11 14 9 12 8 16 11 15 8 8 5 12 15 11 8 11 13...
output:
3 7 1 11 3 7 11 10 10 3 11 13 5 2 5 8 3 11 3 12 15 5 2 0 9 5 9 0 8 4 15 17 11 13 16 17 8 14 2 4 7 4 9 14 0 13 16 18 18 2 19 0 16 16 14 17 10 7 20 4 19 19 10 12 5 3 10 7 14 1 20 0 14 0 3 8 3 16 19 20 18 16 14 15 21 0 14 1 15 7 17 17 8 0 1 7 13 4 1 16 21 18 22 11 6 3 15 6 18 17 3 5 14 19 10 5 1 5 21 7...
result:
ok very good job! (6525 test cases)
Test #15:
score: -30
Wrong Answer
time: 14ms = 0ms + 14ms
memory: 0kb,3808kb
input:
6525 1 6 7 6 2 10 8 5 6 9 1 7 3 11 5 6 0 2 9 10 8 6 6 1 10 11 4 12 9 6 12 1 2 9 11 10 6 11 1 2 3 4 8 6 0 11 2 6 8 10 6 0 1 2 3 4 9 6 0 10 6 3 4 7 6 9 11 2 8 4 5 7 8 12 9 3 10 5 6 7 0 1 8 3 9 5 6 7 0 14 11 7 4 5 12 7 0 1 7 3 4 12 11 7 0 1 11 3 8 5 6 7 12 10 2 3 4 7 11 7 12 1 7 13 4 8 6 7 0 1 11 3 7 5...
output:
5 7 3 7 10 6 10 11 9 10 8 2 10 8 9 4 7 10 11 9 10 6 8 9 11 12 11 12 8 11 7 12 8 13 7 11 14 9 5 12 15 10 11 15 7 9 15 11 4 14 12 13 6 4 12 11 11 9 10 6 17 14 16 13 11 15 3 15 16 18 13 14 10 6 14 11 14 10 13 12 9 20 14 15 17 15 18 11 20 19 15 17 8 10 19 18 6 14 10 14 14 7 15 22 20 22 14 16 21 19 16 15...
input:
6525 2 6 0 1 3 4 9 12 6 0 2 4 8 10 12 6 3 4 5 7 11 12 6 2 3 5 6 7 8 6 0 4 5 6 7 8 6 0 5 6 7 9 12 6 1 3 4 5 7 12 6 5 6 7 10 11 12 6 1 2 5 8 9 11 6 0 1 3 7 10 12 7 0 1 2 4 11 13 14 7 2 4 7 11 12 13 14 7 1 2 3 6 8 9 13 7 2 5 6 8 9 13 14 7 2 4 7 9 10 12 14 7 0 1 5 6 8 13 14 7 0 2 3 5 9 10 11 7 2 4 8 9 1...
output:
4 12 2 8 12 11 7 5 6 5 6 7 7 12 12 7 9 8 0 7 4 11 14 12 3 9 13 14 12 9 0 0 0 10 13 10 2 13 7 11 6 8 7 8 15 12 8 14 11 13 7 5 12 11 6 5 10 12 12 9 12 5 9 11 7 18 10 13 17 14 15 5 15 17 15 13 13 6 15 10 12 16 20 17 16 14 13 6 5 14 14 18 15 11 11 14 18 13 19 20 20 11 14 16 10 14 21 8 22 14 22 11 20 17 ...
input:
6525 3 6 5 7 4 12 6 3 7 2 8 6 10 6 12 11 6 10 11 7 5 6 9 10 6 5 6 8 2 6 7 6 10 8 7 12 6 9 4 12 7 6 7 10 9 8 6 11 9 0 7 7 10 6 4 11 7 8 9 14 12 7 11 12 3 9 7 11 12 13 14 7 8 11 12 9 7 7 12 0 0 7 8 13 0 10 7 7 11 13 10 7 14 9 2 13 7 5 12 7 11 8 15 10 6 8 8 11 15 7 8 8 7 9 15 12 8 15 11 8 14 8 4 14 11 ...
output:
11 6 1 0 3 10 9 8 12 6 7 10 10 10 13 4 14 12 0 10 4 10 0 12 9 6 2 1 1 15 10 18 6 16 2 1 0 5 15 8 6 8 2 16 16 20 9 12 2 0 18 2 3 22 17 6 8 15 11 1 18 19 15 13 14 0 13 7 19 7 8 1 15 9 22 20 19 6 9 13 18 3 14 18 21 6 3 16 8 9 21 4 10 2 1 19 7 1 13 9 20 22 16 10 17 7 10 10 9 0 1 21 15 3 13 6 14 1 18 21 ...
result:
wrong answer the card you returned is 4, but expected 9 (test case 16)
Subtask #4:
score: 0
Skipped