QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#210560 | #5364. 面国漫步 | World_Creater | 47 | 1ms | 3756kb | C++14 | 858b | 2023-10-11 16:28:52 | 2023-10-11 16:28:53 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
#define int long long
const int inf=1ll<<60;
int n,m,vis[10005],f[105],g[105],a[10005],p[105],lst[105],mp[105],cnt;
vector<tuple<int,int,int> > ans;
void end()
{
cout<<"YouAreFake!";
exit(0);
}
signed main()
{
cin>>n>>m;
fill(f+1,f+1+n,inf);
f[1]=0;
for(int i=1;i<=m;i++)
{
cin>>a[i];
lst[i]=mp[a[i]];
mp[a[i]]=i;
}
if(mp[1]!=1) end();
for(int i=1;i<m;i++)
{
int j=i+1;
while(j!=mp[a[j]]) j++;
for(int t=i;t<=j;t++) if(lst[t]>i) end();
for(int t=i+1;t<j;t++)
{
f[a[t]]--;
g[a[t]]=inf-f[a[t]];
ans.emplace_back(a[i],a[t],f[a[t]]-f[a[i]]);
}
f[a[j]]=f[a[i]]+g[a[i]];
ans.emplace_back(a[i],a[j],g[a[i]]);
i=j-1;
}
cout<<"YouAreWrite!\n";
cout<<ans.size()<<"\n";
for(auto [x,y,z]:ans)
{
cout<<x<<" "<<y<<" "<<z<<"\n";
}
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 7
Accepted
Test #1:
score: 7
Accepted
time: 0ms
memory: 3668kb
input:
3 1 1
output:
YouAreWrite! 0
result:
ok Accepted
Test #2:
score: 0
Accepted
time: 0ms
memory: 3656kb
input:
3 2 1 2
output:
YouAreWrite! 1 1 2 0
result:
ok Accepted
Test #3:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
3 2 1 3
output:
YouAreWrite! 1 1 3 0
result:
ok Accepted
Test #4:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
3 3 1 2 3
output:
YouAreWrite! 2 1 2 0 2 3 0
result:
ok Accepted
Test #5:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
3 3 1 2 2
output:
YouAreFake!
result:
ok Accepted
Test #6:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
3 3 1 3 2
output:
YouAreWrite! 2 1 3 0 3 2 0
result:
ok Accepted
Test #7:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
3 4 1 2 3 2
output:
YouAreWrite! 3 1 2 1152921504606846975 1 3 0 3 2 0
result:
ok Accepted
Test #8:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
3 5 1 2 3 2 3
output:
YouAreFake!
result:
ok Accepted
Test #9:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
3 3 1 3 3
output:
YouAreFake!
result:
ok Accepted
Test #10:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
3 5 1 2 3 2 2
output:
YouAreFake!
result:
ok Accepted
Test #11:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
3 5 1 2 3 3 2
output:
YouAreFake!
result:
ok Accepted
Test #12:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
3 4 1 3 3 2
output:
YouAreFake!
result:
ok Accepted
Test #13:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
3 4 1 3 3 3
output:
YouAreFake!
result:
ok Accepted
Test #14:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
3 4 1 2 2 2
output:
YouAreFake!
result:
ok Accepted
Test #15:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
3 5 1 3 2 3 3
output:
YouAreFake!
result:
ok Accepted
Subtask #2:
score: 8
Accepted
Test #16:
score: 8
Accepted
time: 0ms
memory: 3664kb
input:
85 78 1 46 49 66 12 47 36 28 44 17 48 34 5 82 20 40 69 52 75 27 14 43 53 83 33 55 38 77 58 56 76 81 6 84 19 80 67 3 50 25 26 21 29 62 70 22 68 63 74 37 7 73 78 42 32 2 64 8 39 71 59 18 23 24 9 51 85 11 57 41 45 16 54 30 35 61 72 4
output:
YouAreWrite! 77 1 46 0 46 49 0 49 66 0 66 12 0 12 47 0 47 36 0 36 28 0 28 44 0 44 17 0 17 48 0 48 34 0 34 5 0 5 82 0 82 20 0 20 40 0 40 69 0 69 52 0 52 75 0 75 27 0 27 14 0 14 43 0 43 53 0 53 83 0 83 33 0 33 55 0 55 38 0 38 77 0 77 58 0 58 56 0 56 76 0 76 81 0 81 6 0 6 84 0 84 19 0 19 80 0 80 67 0 6...
result:
ok Accepted
Test #17:
score: 0
Accepted
time: 0ms
memory: 3740kb
input:
85 69 1 49 5 82 85 42 74 37 44 12 78 53 25 45 76 65 41 24 3 28 57 54 59 84 11 32 21 68 35 64 50 17 39 26 46 38 15 10 30 9 23 81 43 19 56 61 60 58 48 63 66 22 27 14 69 72 13 18 47 71 6 70 34 31 29 77 40 33 62
output:
YouAreWrite! 68 1 49 0 49 5 0 5 82 0 82 85 0 85 42 0 42 74 0 74 37 0 37 44 0 44 12 0 12 78 0 78 53 0 53 25 0 25 45 0 45 76 0 76 65 0 65 41 0 41 24 0 24 3 0 3 28 0 28 57 0 57 54 0 54 59 0 59 84 0 84 11 0 11 32 0 32 21 0 21 68 0 68 35 0 35 64 0 64 50 0 50 17 0 17 39 0 39 26 0 26 46 0 46 38 0 38 15 0 1...
result:
ok Accepted
Test #18:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
37 20 1 13 9 4 15 5 26 25 10 31 12 28 32 24 23 18 17 33 20 37
output:
YouAreWrite! 19 1 13 0 13 9 0 9 4 0 4 15 0 15 5 0 5 26 0 26 25 0 25 10 0 10 31 0 31 12 0 12 28 0 28 32 0 32 24 0 24 23 0 23 18 0 18 17 0 17 33 0 33 20 0 20 37 0
result:
ok Accepted
Test #19:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
80 69 1 3 26 13 22 60 70 64 37 35 43 20 49 32 68 6 40 4 44 29 10 47 66 52 34 31 36 73 19 45 69 71 75 77 55 67 78 2 38 15 59 54 63 8 41 24 21 42 25 16 61 7 51 14 23 50 48 33 27 46 17 56 5 80 9 74 28 53 76
output:
YouAreWrite! 68 1 3 0 3 26 0 26 13 0 13 22 0 22 60 0 60 70 0 70 64 0 64 37 0 37 35 0 35 43 0 43 20 0 20 49 0 49 32 0 32 68 0 68 6 0 6 40 0 40 4 0 4 44 0 44 29 0 29 10 0 10 47 0 47 66 0 66 52 0 52 34 0 34 31 0 31 36 0 36 73 0 73 19 0 19 45 0 45 69 0 69 71 0 71 75 0 75 77 0 77 55 0 55 67 0 67 78 0 78 ...
result:
ok Accepted
Test #20:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
77 28 1 8 74 32 68 50 29 63 12 10 36 42 38 26 58 21 13 24 64 53 28 45 66 22 20 60 61 75
output:
YouAreWrite! 27 1 8 0 8 74 0 74 32 0 32 68 0 68 50 0 50 29 0 29 63 0 63 12 0 12 10 0 10 36 0 36 42 0 42 38 0 38 26 0 26 58 0 58 21 0 21 13 0 13 24 0 24 64 0 64 53 0 53 28 0 28 45 0 45 66 0 66 22 0 22 20 0 20 60 0 60 61 0 61 75 0
result:
ok Accepted
Test #21:
score: 0
Accepted
time: 0ms
memory: 3748kb
input:
39 4 1 28 18 12
output:
YouAreWrite! 3 1 28 0 28 18 0 18 12 0
result:
ok Accepted
Test #22:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
76 28 1 40 67 5 44 73 31 32 11 38 56 66 24 7 29 6 26 22 23 12 4 33 21 36 65 34 43 47
output:
YouAreWrite! 27 1 40 0 40 67 0 67 5 0 5 44 0 44 73 0 73 31 0 31 32 0 32 11 0 11 38 0 38 56 0 56 66 0 66 24 0 24 7 0 7 29 0 29 6 0 6 26 0 26 22 0 22 23 0 23 12 0 12 4 0 4 33 0 33 21 0 21 36 0 36 65 0 65 34 0 34 43 0 43 47 0
result:
ok Accepted
Test #23:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
61 6 1 46 45 6 34 7
output:
YouAreWrite! 5 1 46 0 46 45 0 45 6 0 6 34 0 34 7 0
result:
ok Accepted
Test #24:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
70 57 1 60 56 34 51 40 55 53 28 42 29 8 10 39 26 4 41 31 62 57 2 11 3 46 66 37 33 61 47 24 32 69 30 70 43 49 17 68 59 67 18 44 15 45 19 7 22 25 52 20 38 58 14 23 48 54 6
output:
YouAreWrite! 56 1 60 0 60 56 0 56 34 0 34 51 0 51 40 0 40 55 0 55 53 0 53 28 0 28 42 0 42 29 0 29 8 0 8 10 0 10 39 0 39 26 0 26 4 0 4 41 0 41 31 0 31 62 0 62 57 0 57 2 0 2 11 0 11 3 0 3 46 0 46 66 0 66 37 0 37 33 0 33 61 0 61 47 0 47 24 0 24 32 0 32 69 0 69 30 0 30 70 0 70 43 0 43 49 0 49 17 0 17 68...
result:
ok Accepted
Test #25:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
62 28 1 30 14 31 37 21 61 23 9 42 11 27 10 49 17 60 15 46 22 57 62 6 48 32 44 25 41 54
output:
YouAreWrite! 27 1 30 0 30 14 0 14 31 0 31 37 0 37 21 0 21 61 0 61 23 0 23 9 0 9 42 0 42 11 0 11 27 0 27 10 0 10 49 0 49 17 0 17 60 0 60 15 0 15 46 0 46 22 0 22 57 0 57 62 0 62 6 0 6 48 0 48 32 0 32 44 0 44 25 0 25 41 0 41 54 0
result:
ok Accepted
Test #26:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
13 9 1 2 6 4 10 13 12 11 5
output:
YouAreWrite! 8 1 2 0 2 6 0 6 4 0 4 10 0 10 13 0 13 12 0 12 11 0 11 5 0
result:
ok Accepted
Test #27:
score: 0
Accepted
time: 0ms
memory: 3736kb
input:
95 52 1 83 55 65 6 4 33 44 95 84 58 93 25 73 76 47 74 24 78 2 82 10 28 87 14 64 12 11 94 42 71 79 43 77 50 61 29 60 54 9 15 40 92 56 37 48 27 70 34 63 51 16
output:
YouAreWrite! 51 1 83 0 83 55 0 55 65 0 65 6 0 6 4 0 4 33 0 33 44 0 44 95 0 95 84 0 84 58 0 58 93 0 93 25 0 25 73 0 73 76 0 76 47 0 47 74 0 74 24 0 24 78 0 78 2 0 2 82 0 82 10 0 10 28 0 28 87 0 87 14 0 14 64 0 64 12 0 12 11 0 11 94 0 94 42 0 42 71 0 71 79 0 79 43 0 43 77 0 77 50 0 50 61 0 61 29 0 29 ...
result:
ok Accepted
Test #28:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
48 16 1 26 20 32 44 48 25 46 13 34 38 9 23 18 35 47
output:
YouAreWrite! 15 1 26 0 26 20 0 20 32 0 32 44 0 44 48 0 48 25 0 25 46 0 46 13 0 13 34 0 34 38 0 38 9 0 9 23 0 23 18 0 18 35 0 35 47 0
result:
ok Accepted
Test #29:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
79 66 1 53 79 36 33 74 56 57 67 59 22 38 68 18 8 6 3 10 13 37 65 4 78 45 35 70 15 11 19 20 73 25 23 16 76 64 54 7 30 40 41 12 28 75 17 42 61 47 24 62 63 71 44 49 27 26 31 32 60 21 50 72 5 52 69 46
output:
YouAreWrite! 65 1 53 0 53 79 0 79 36 0 36 33 0 33 74 0 74 56 0 56 57 0 57 67 0 67 59 0 59 22 0 22 38 0 38 68 0 68 18 0 18 8 0 8 6 0 6 3 0 3 10 0 10 13 0 13 37 0 37 65 0 65 4 0 4 78 0 78 45 0 45 35 0 35 70 0 70 15 0 15 11 0 11 19 0 19 20 0 20 73 0 73 25 0 25 23 0 23 16 0 16 76 0 76 64 0 64 54 0 54 7 ...
result:
ok Accepted
Test #30:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
30 16 3 10 7 15 8 5 9 29 13 25 21 11 1 22 16 12
output:
YouAreFake!
result:
ok Accepted
Subtask #3:
score: 9
Accepted
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Test #31:
score: 9
Accepted
time: 0ms
memory: 3736kb
input:
57 28 1 57 9 34 21 20 13 19 47 4 10 46 39 18 16 14 23 38 41 31 12 41 27 53 28 35 55 29
output:
YouAreWrite! 27 1 57 0 57 9 0 9 34 0 34 21 0 21 20 0 20 13 0 13 19 0 19 47 0 47 4 0 4 10 0 10 46 0 46 39 0 39 18 0 18 16 0 16 14 0 14 23 0 23 38 0 38 41 1152921504606846975 38 31 0 31 12 0 12 41 0 41 27 1 27 53 0 53 28 0 28 35 0 35 55 0 55 29 0
result:
ok Accepted
Test #32:
score: 0
Accepted
time: 0ms
memory: 3724kb
input:
45 3 1 22 22
output:
YouAreFake!
result:
ok Accepted
Test #33:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
95 23 1 31 90 14 36 94 9 55 30 84 65 13 15 62 30 63 47 85 7 77 78 53 89
output:
YouAreWrite! 22 1 31 0 31 90 0 90 14 0 14 36 0 36 94 0 94 9 0 9 55 0 55 30 1152921504606846975 55 84 0 84 65 0 65 13 0 13 15 0 15 62 0 62 30 0 30 63 1 63 47 0 47 85 0 85 7 0 7 77 0 77 78 0 78 53 0 53 89 0
result:
ok Accepted
Test #34:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
55 19 1 3 50 14 36 8 52 22 25 10 35 48 31 33 38 12 12 30 15
output:
YouAreFake!
result:
ok Accepted
Test #35:
score: 0
Accepted
time: 0ms
memory: 3752kb
input:
61 37 1 22 59 24 41 16 53 17 11 36 58 4 25 54 31 6 46 26 21 33 19 3 18 48 44 15 49 28 9 12 20 41 13 43 45 50 60
output:
YouAreWrite! 36 1 22 0 22 59 0 59 24 0 24 41 1152921504606846975 24 16 0 16 53 0 53 17 0 17 11 0 11 36 0 36 58 0 58 4 0 4 25 0 25 54 0 54 31 0 31 6 0 6 46 0 46 26 0 26 21 0 21 33 0 33 19 0 19 3 0 3 18 0 18 48 0 48 44 0 44 15 0 15 49 0 49 28 0 28 9 0 9 12 0 12 20 0 20 41 0 41 13 1 13 43 0 43 45 0 45 ...
result:
ok Accepted
Test #36:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
45 22 1 8 32 12 2 31 41 18 27 16 3 34 39 35 34 40 42 4 19 36 13 44
output:
YouAreWrite! 21 1 8 0 8 32 0 32 12 0 12 2 0 2 31 0 31 41 0 41 18 0 18 27 0 27 16 0 16 3 0 3 34 1152921504606846975 3 39 0 39 35 0 35 34 0 34 40 1 40 42 0 42 4 0 4 19 0 19 36 0 36 13 0 13 44 0
result:
ok Accepted
Test #37:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
15 6 1 6 4 2 6 7
output:
YouAreWrite! 5 1 6 1152921504606846975 1 4 0 4 2 0 2 6 0 6 7 1
result:
ok Accepted
Test #38:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
58 23 1 2 18 44 7 7 46 52 34 48 10 31 25 55 41 11 51 45 33 16 20 4 14
output:
YouAreFake!
result:
ok Accepted
Test #39:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
78 4 1 68 68 5
output:
YouAreFake!
result:
ok Accepted
Test #40:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
28 4 1 15 15 17
output:
YouAreFake!
result:
ok Accepted
Test #41:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
47 8 1 41 41 33 27 47 21 25
output:
YouAreFake!
result:
ok Accepted
Test #42:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
31 32 1 19 28 22 20 15 4 5 5 10 6 18 23 9 14 21 26 11 31 30 13 12 27 24 25 16 17 29 7 3 8 2
output:
YouAreFake!
result:
ok Accepted
Test #43:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
23 23 1 20 21 18 2 23 22 7 12 9 4 6 11 13 5 14 17 5 3 19 10 16 8
output:
YouAreWrite! 22 1 20 0 20 21 0 21 18 0 18 2 0 2 23 0 23 22 0 22 7 0 7 12 0 12 9 0 9 4 0 4 6 0 6 11 0 11 13 0 13 5 1152921504606846975 13 14 0 14 17 0 17 5 0 5 3 1 3 19 0 19 10 0 10 16 0 16 8 0
result:
ok Accepted
Test #44:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
99 68 1 14 2 51 93 72 54 49 8 33 67 18 84 87 44 90 64 38 82 63 10 69 15 36 95 3 29 28 32 50 9 88 80 39 43 60 65 19 59 37 94 5 99 91 75 21 42 96 30 61 31 83 47 57 66 44 25 4 16 81 55 23 58 24 20 22 11 53
output:
YouAreWrite! 67 1 14 0 14 2 0 2 51 0 51 93 0 93 72 0 72 54 0 54 49 0 49 8 0 8 33 0 33 67 0 67 18 0 18 84 0 84 87 0 87 44 1152921504606846975 87 90 0 90 64 0 64 38 0 38 82 0 82 63 0 63 10 0 10 69 0 69 15 0 15 36 0 36 95 0 95 3 0 3 29 0 29 28 0 28 32 0 32 50 0 50 9 0 9 88 0 88 80 0 80 39 0 39 43 0 43 ...
result:
ok Accepted
Test #45:
score: 0
Accepted
time: 0ms
memory: 3564kb
input:
52 3 24 12 12
output:
YouAreFake!
result:
ok Accepted
Test #46:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
99 97 1 59 47 83 22 2 36 58 23 39 53 84 61 71 62 42 54 56 46 31 80 32 38 74 28 93 17 91 37 14 67 33 50 51 55 29 27 10 81 21 24 12 78 92 70 34 77 7 85 65 87 98 60 63 90 52 8 57 88 48 72 64 3 20 19 6 89 45 76 11 69 5 86 97 51 68 4 40 79 94 35 49 75 25 96 99 30 82 13 26 18 16 9 43 41 73 15
output:
YouAreWrite! 96 1 59 0 59 47 0 47 83 0 83 22 0 22 2 0 2 36 0 36 58 0 58 23 0 23 39 0 39 53 0 53 84 0 84 61 0 61 71 0 71 62 0 62 42 0 42 54 0 54 56 0 56 46 0 46 31 0 31 80 0 80 32 0 32 38 0 38 74 0 74 28 0 28 93 0 93 17 0 17 91 0 91 37 0 37 14 0 14 67 0 67 33 0 33 50 0 50 51 1152921504606846975 50 55...
result:
ok Accepted
Test #47:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
30 19 1 15 3 17 20 30 29 28 5 10 21 4 9 26 27 14 5 8 2
output:
YouAreWrite! 18 1 15 0 15 3 0 3 17 0 17 20 0 20 30 0 30 29 0 29 28 0 28 5 1152921504606846975 28 10 0 10 21 0 21 4 0 4 9 0 9 26 0 26 27 0 27 14 0 14 5 0 5 8 1 8 2 0
result:
ok Accepted
Test #48:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
43 18 1 22 7 8 12 38 25 9 21 39 43 30 29 18 32 30 5 35
output:
YouAreWrite! 17 1 22 0 22 7 0 7 8 0 8 12 0 12 38 0 38 25 0 25 9 0 9 21 0 21 39 0 39 43 0 43 30 1152921504606846975 43 29 0 29 18 0 18 32 0 32 30 0 30 5 1 5 35 0
result:
ok Accepted
Test #49:
score: 0
Accepted
time: 0ms
memory: 3732kb
input:
62 28 1 45 6 60 17 19 61 54 58 16 28 26 3 31 29 57 4 5 44 4 13 37 46 39 53 24 2 12
output:
YouAreWrite! 27 1 45 0 45 6 0 6 60 0 60 17 0 17 19 0 19 61 0 61 54 0 54 58 0 58 16 0 16 28 0 28 26 0 26 3 0 3 31 0 31 29 0 29 57 0 57 4 1152921504606846975 57 5 0 5 44 0 44 4 0 4 13 1 13 37 0 37 46 0 46 39 0 39 53 0 53 24 0 24 2 0 2 12 0
result:
ok Accepted
Test #50:
score: 0
Accepted
time: 0ms
memory: 3660kb
input:
51 5 1 25 2 38 38
output:
YouAreFake!
result:
ok Accepted
Test #51:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
68 66 1 10 2 55 12 47 51 31 64 29 59 58 14 52 27 18 39 4 7 44 62 21 11 17 24 65 25 27 36 15 42 3 45 20 34 5 68 37 56 50 41 63 60 43 61 30 13 66 28 26 40 35 22 23 19 9 67 16 6 33 54 8 38 49 53 57
output:
YouAreWrite! 65 1 10 0 10 2 0 2 55 0 55 12 0 12 47 0 47 51 0 51 31 0 31 64 0 64 29 0 29 59 0 59 58 0 58 14 0 14 52 0 52 27 1152921504606846975 52 18 0 18 39 0 39 4 0 4 7 0 7 44 0 44 62 0 62 21 0 21 11 0 11 17 0 17 24 0 24 65 0 65 25 0 25 27 0 27 36 1 36 15 0 15 42 0 42 3 0 3 45 0 45 20 0 20 34 0 34 ...
result:
ok Accepted
Test #52:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
34 24 1 27 16 20 31 22 21 10 26 28 22 2 11 25 33 24 4 12 8 18 19 17 30 34
output:
YouAreWrite! 23 1 27 0 27 16 0 16 20 0 20 31 0 31 22 1152921504606846975 31 21 0 21 10 0 10 26 0 26 28 0 28 22 0 22 2 1 2 11 0 11 25 0 25 33 0 33 24 0 24 4 0 4 12 0 12 8 0 8 18 0 18 19 0 19 17 0 17 30 0 30 34 0
result:
ok Accepted
Test #53:
score: 0
Accepted
time: 0ms
memory: 3724kb
input:
49 14 1 33 12 19 35 24 36 27 34 22 26 34 23 43
output:
YouAreWrite! 13 1 33 0 33 12 0 12 19 0 19 35 0 35 24 0 24 36 0 36 27 0 27 34 1152921504606846975 27 22 0 22 26 0 26 34 0 34 23 1 23 43 0
result:
ok Accepted
Test #54:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
72 12 1 12 23 21 55 35 12 22 39 13 42 67
output:
YouAreWrite! 11 1 12 1152921504606846975 1 23 0 23 21 0 21 55 0 55 35 0 35 12 0 12 22 1 22 39 0 39 13 0 13 42 0 42 67 0
result:
ok Accepted
Test #55:
score: 0
Accepted
time: 0ms
memory: 3660kb
input:
11 6 1 2 7 6 9 7
output:
YouAreWrite! 5 1 2 0 2 7 1152921504606846975 2 6 0 6 9 0 9 7 0
result:
ok Accepted
Test #56:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
67 34 1 56 54 17 50 19 29 18 8 40 61 28 59 43 2 14 21 48 6 31 57 22 11 12 43 47 58 30 62 5 64 45 51 49
output:
YouAreWrite! 33 1 56 0 56 54 0 54 17 0 17 50 0 50 19 0 19 29 0 29 18 0 18 8 0 8 40 0 40 61 0 61 28 0 28 59 0 59 43 1152921504606846975 59 2 0 2 14 0 14 21 0 21 48 0 48 6 0 6 31 0 31 57 0 57 22 0 22 11 0 11 12 0 12 43 0 43 47 1 47 58 0 58 30 0 30 62 0 62 5 0 5 64 0 64 45 0 45 51 0 51 49 0
result:
ok Accepted
Test #57:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
35 20 1 33 25 26 9 21 2 35 14 23 8 19 29 27 10 30 7 3 22 35
output:
YouAreWrite! 19 1 33 0 33 25 0 25 26 0 26 9 0 9 21 0 21 2 0 2 35 1152921504606846975 2 14 0 14 23 0 23 8 0 8 19 0 19 29 0 29 27 0 27 10 0 10 30 0 30 7 0 7 3 0 3 22 0 22 35 0
result:
ok Accepted
Test #58:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
73 36 1 39 22 70 9 48 65 53 23 49 54 73 67 52 57 8 42 37 13 14 50 18 63 12 11 15 20 6 24 27 71 33 18 32 26 47
output:
YouAreWrite! 35 1 39 0 39 22 0 22 70 0 70 9 0 9 48 0 48 65 0 65 53 0 53 23 0 23 49 0 49 54 0 54 73 0 73 67 0 67 52 0 52 57 0 57 8 0 8 42 0 42 37 0 37 13 0 13 14 0 14 50 0 50 18 1152921504606846975 50 63 0 63 12 0 12 11 0 11 15 0 15 20 0 20 6 0 6 24 0 24 27 0 27 71 0 71 33 0 33 18 0 18 32 1 32 26 0 2...
result:
ok Accepted
Test #59:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
49 13 1 37 39 31 43 23 16 39 2 27 12 22 25
output:
YouAreWrite! 12 1 37 0 37 39 1152921504606846975 37 31 0 31 43 0 43 23 0 23 16 0 16 39 0 39 2 1 2 27 0 27 12 0 12 22 0 22 25 0
result:
ok Accepted
Test #60:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
48 24 1 35 7 43 10 24 48 29 33 42 25 15 15 27 22 21 26 2 4 14 41 32 19 5
output:
YouAreFake!
result:
ok Accepted
Subtask #4:
score: 23
Accepted
Dependency #2:
100%
Accepted
Test #61:
score: 23
Accepted
time: 0ms
memory: 3684kb
input:
4 6 1 3 2 4 3 4
output:
YouAreWrite! 5 1 3 1152921504606846975 1 2 0 2 4 1152921504606846975 2 3 0 3 4 1
result:
ok Accepted
Test #62:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
86 115 1 24 86 24 60 15 66 59 50 45 20 61 17 4 40 67 38 46 36 10 62 22 76 3 73 6 69 56 28 31 82 43 18 49 8 13 21 76 57 32 79 36 51 28 51 14 20 5 72 48 77 62 71 11 3 70 84 30 14 60 29 25 2 26 43 27 47 84 53 19 30 58 15 63 47 6 46 81 17 64 12 16 7 78 74 37 54 65 82 32 29 27 55 26 19 33 37 68 4 50 55 7...
output:
YouAreFake!
result:
ok Accepted
Test #63:
score: 0
Accepted
time: 0ms
memory: 3732kb
input:
84 119 1 25 55 40 78 31 37 39 20 13 29 73 62 38 66 70 36 19 76 26 49 71 34 47 79 55 63 64 12 29 52 8 10 14 35 23 19 73 45 7 16 41 15 40 3 52 76 63 16 59 64 74 67 79 27 39 27 48 37 21 46 59 49 50 54 56 81 22 20 42 32 61 70 2 30 57 17 65 72 17 8 75 69 69 80 71 78 24 58 11 7 84 44 44 28 54 4 77 61 42 2...
output:
YouAreFake!
result:
ok Accepted
Test #64:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
60 91 1 40 20 2 49 29 23 21 27 55 52 9 57 41 53 53 44 40 25 10 16 9 13 48 38 30 31 56 20 17 27 30 59 32 51 37 54 21 22 17 45 47 4 3 18 38 45 36 58 50 35 54 41 15 29 5 12 14 46 11 56 7 57 50 8 42 26 11 25 36 24 31 19 12 23 43 35 26 28 48 28 34 32 2 46 22 15 6 16 55 37
output:
YouAreFake!
result:
ok Accepted
Test #65:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
90 127 1 88 7 42 11 89 45 77 51 20 29 81 84 80 67 41 71 66 10 29 31 47 24 79 3 34 25 90 22 76 12 24 12 2 57 63 16 66 51 17 38 67 8 52 64 39 57 15 35 20 72 52 59 16 81 62 55 36 61 41 49 23 5 61 27 69 53 27 7 9 23 38 13 35 65 26 40 28 71 49 13 58 14 48 43 87 89 84 30 69 88 87 59 44 30 9 21 10 70 40 83...
output:
YouAreFake!
result:
ok Accepted
Test #66:
score: 0
Accepted
time: 0ms
memory: 3752kb
input:
72 99 1 4 6 5 60 18 28 45 26 49 66 31 65 62 53 20 24 3 42 9 20 10 71 56 4 32 17 64 23 37 27 44 26 31 19 50 24 64 69 39 44 43 8 29 16 38 2 72 50 16 61 63 67 40 45 52 51 6 15 29 12 58 14 41 3 34 70 60 65 35 33 57 70 33 43 19 14 66 13 57 25 5 11 27 21 63 68 54 46 13 30 35 28 25 36 8 58 7 21
output:
YouAreWrite! 98 1 4 1152921504606846975 1 6 1152921504606846975 1 5 1152921504606846975 1 60 1152921504606846975 1 18 0 18 28 1152921504606846975 18 45 1152921504606846975 18 26 1152921504606846975 18 49 0 49 66 1152921504606846975 49 31 1152921504606846975 49 65 1152921504606846975 49 62 0 62 53 0 ...
result:
ok Accepted
Test #67:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
87 120 1 30 24 46 7 49 39 41 30 51 60 75 15 58 11 77 62 13 49 65 8 26 41 80 82 37 38 50 76 71 86 16 75 38 53 16 22 34 21 33 20 2 81 47 36 73 27 52 62 23 56 87 78 55 9 35 31 10 46 87 12 12 20 56 33 14 9 10 81 61 47 53 67 32 14 63 64 80 60 64 13 18 11 85 32 15 84 17 43 58 66 84 63 8 35 72 51 74 42 77 ...
output:
YouAreFake!
result:
ok Accepted
Test #68:
score: 0
Accepted
time: 0ms
memory: 3600kb
input:
92 125 1 58 44 14 70 34 54 48 13 51 69 58 66 28 54 79 17 73 75 30 55 25 41 72 18 84 89 82 70 45 16 10 19 81 33 36 53 8 19 65 53 4 78 83 5 23 20 11 63 39 80 84 18 32 62 92 92 6 69 29 59 26 87 15 35 40 81 14 56 64 89 91 9 90 85 71 24 4 46 57 36 76 59 74 87 76 41 91 16 68 52 15 7 3 9 90 62 49 21 11 33 ...
output:
YouAreFake!
result:
ok Accepted
Test #69:
score: 0
Accepted
time: 0ms
memory: 3660kb
input:
55 67 1 7 12 27 4 26 41 40 55 26 33 38 15 11 12 51 36 14 9 29 35 32 46 9 45 34 3 42 18 52 4 29 47 5 3 28 43 50 24 17 25 19 44 48 28 37 2 23 22 39 16 8 11 52 30 46 55 23 53 41 37 45 51 54 49 34 10
output:
YouAreWrite! 66 1 7 0 7 12 1152921504606846975 7 27 0 27 4 1152921504606846975 27 26 1152921504606846975 27 41 1152921504606846975 27 40 0 40 55 1152921504606846975 40 26 0 26 33 1 33 38 0 38 15 0 15 11 1152921504606846974 15 12 0 12 51 1152921504606846974 12 36 1 36 14 0 14 9 1152921504606846973 14...
result:
ok Accepted
Test #70:
score: 0
Accepted
time: 0ms
memory: 3740kb
input:
63 90 1 22 45 8 62 16 18 46 2 9 31 43 33 26 4 19 47 35 10 52 14 34 29 50 25 31 17 47 36 61 44 59 27 59 2 11 7 56 22 55 52 28 38 13 54 39 17 61 8 21 3 50 30 40 15 3 48 4 21 46 13 42 57 63 27 18 45 51 41 11 42 63 58 25 19 6 56 32 5 54 49 51 26 48 40 28 20 37 57 12
output:
YouAreFake!
result:
ok Accepted
Test #71:
score: 0
Accepted
time: 0ms
memory: 3660kb
input:
65 81 1 46 26 54 59 49 41 41 30 3 28 21 65 4 34 64 58 45 40 16 60 42 50 62 37 16 24 13 38 43 22 51 33 65 6 51 4 5 20 22 28 56 48 17 57 2 32 44 33 49 63 30 44 5 50 8 25 10 58 39 36 19 55 25 35 11 27 59 6 52 18 20 57 63 7 48 37 9 19 17 60
output:
YouAreFake!
result:
ok Accepted
Test #72:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
57 79 1 33 53 49 37 28 2 47 37 13 11 48 29 12 43 17 55 24 44 26 34 40 53 10 55 5 25 44 57 41 38 21 22 49 36 57 10 19 9 4 7 30 51 56 33 32 52 54 24 20 30 22 54 16 8 17 39 3 11 31 20 38 4 18 43 15 19 9 50 50 16 18 23 45 39 31 27 26 34
output:
YouAreFake!
result:
ok Accepted
Test #73:
score: 0
Accepted
time: 0ms
memory: 3756kb
input:
70 91 1 58 70 31 44 56 6 16 3 34 62 8 35 22 56 20 62 38 21 4 19 31 41 26 65 68 14 28 40 33 12 19 35 7 55 53 60 9 63 57 17 48 23 18 52 68 46 29 36 61 32 50 51 47 8 39 27 5 64 45 67 23 55 16 33 30 63 42 27 20 38 30 11 18 54 22 57 41 45 4 64 66 9 6 59 2 69 21 24 49 40
output:
YouAreWrite! 90 1 58 0 58 70 0 70 31 1152921504606846975 70 44 0 44 56 1152921504606846975 44 6 1152921504606846975 44 16 1152921504606846975 44 3 0 3 34 0 34 62 1152921504606846975 34 8 1152921504606846975 34 35 1152921504606846975 34 22 1152921504606846975 34 56 0 56 20 1152921504606846975 56 62 1...
result:
ok Accepted
Test #74:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
57 83 1 43 49 49 45 44 42 34 35 54 12 21 27 14 43 11 57 22 6 32 19 24 10 17 41 23 46 11 19 55 38 7 5 13 2 28 3 24 6 29 4 25 47 38 12 41 46 9 40 34 16 30 9 14 36 30 8 17 18 7 16 26 57 28 45 31 26 42 37 25 5 21 4 31 33 20 8 55 39 29 48 33 13
output:
YouAreFake!
result:
ok Accepted
Test #75:
score: 0
Accepted
time: 0ms
memory: 3716kb
input:
80 107 1 39 59 80 49 59 37 51 48 75 73 39 16 30 44 60 34 63 25 74 62 78 15 18 30 51 2 67 9 13 45 9 64 69 53 56 61 61 17 60 72 62 38 37 27 7 40 41 42 71 57 7 13 76 18 78 46 72 66 79 14 70 36 8 28 64 5 50 47 31 22 40 54 66 15 77 38 14 10 46 23 10 4 21 33 19 79 45 11 54 29 29 77 69 21 32 67 55 76 57 5 ...
output:
YouAreFake!
result:
ok Accepted
Test #76:
score: 0
Accepted
time: 0ms
memory: 3600kb
input:
84 115 1 61 20 32 34 61 14 64 8 24 73 30 40 72 21 76 57 50 47 63 66 59 78 84 29 10 80 38 68 60 43 6 7 37 55 69 48 23 51 22 83 70 56 18 45 25 17 17 2 3 4 15 51 9 54 65 35 25 44 26 71 43 24 31 77 15 33 8 52 81 78 37 62 52 77 57 33 12 41 16 81 5 3 49 39 27 21 44 54 82 68 58 70 66 41 36 23 83 67 60 46 5...
output:
YouAreFake!
result:
ok Accepted
Test #77:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
68 82 1 38 51 35 30 44 65 54 61 50 59 58 23 43 29 56 9 27 4 21 56 64 63 59 9 20 4 8 44 22 3 35 2 10 31 16 34 2 17 7 50 48 28 62 58 55 41 37 19 45 11 32 60 63 53 25 6 66 42 64 28 47 26 12 26 24 22 5 17 13 46 19 55 15 13 10 39 51 32 43 47 42
output:
YouAreWrite! 81 1 38 0 38 51 1152921504606846975 38 35 1152921504606846975 38 30 0 30 44 1152921504606846975 30 65 0 65 54 0 54 61 0 61 50 1152921504606846975 61 59 1152921504606846975 61 58 1152921504606846975 61 23 0 23 43 1152921504606846975 23 29 0 29 56 1152921504606846975 29 9 1152921504606846...
result:
ok Accepted
Test #78:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
75 109 1 32 64 52 19 48 57 58 8 62 4 26 74 37 61 13 33 36 71 42 7 56 10 39 73 3 35 22 67 68 59 41 7 30 35 33 19 73 43 6 67 34 26 31 70 37 64 17 25 57 68 14 56 53 54 63 31 54 60 71 5 59 20 65 72 61 47 40 24 63 38 34 13 69 10 69 16 23 40 46 53 12 11 51 48 42 5 2 18 28 47 12 66 45 50 28 3 14 9 45 50 41...
output:
YouAreWrite! 108 1 32 0 32 64 1152921504606846975 32 52 0 52 19 1152921504606846975 52 48 1152921504606846975 52 57 1152921504606846975 52 58 1152921504606846975 52 8 0 8 62 0 62 4 0 4 26 1152921504606846975 4 74 0 74 37 1152921504606846975 74 61 1152921504606846975 74 13 1152921504606846975 74 33 1...
result:
ok Accepted
Test #79:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
71 104 1 26 56 29 48 54 13 69 11 36 24 67 16 43 55 40 18 57 19 10 65 11 4 40 14 35 45 20 28 42 53 36 15 66 42 50 24 59 14 45 71 59 44 30 47 34 62 3 5 49 29 51 55 7 9 19 63 6 27 56 46 54 31 27 64 53 4 28 49 62 25 66 23 68 16 20 12 33 64 25 13 22 70 61 51 22 3 65 67 37 41 15 32 39 63 44 58 33 26 60 7 ...
output:
YouAreWrite! 103 1 26 1152921504606846975 1 56 1152921504606846975 1 29 1152921504606846975 1 48 0 48 54 1152921504606846975 48 13 1152921504606846975 48 69 1152921504606846975 48 11 1152921504606846975 48 36 1152921504606846975 48 24 1152921504606846975 48 67 1152921504606846975 48 16 1152921504606...
result:
ok Accepted
Test #80:
score: 0
Accepted
time: 0ms
memory: 3692kb
input:
77 107 1 53 11 32 52 28 20 26 23 70 69 4 16 19 50 5 31 23 11 24 43 54 38 58 56 60 72 66 21 51 41 47 39 9 59 7 73 73 68 57 8 15 34 64 48 16 46 60 76 13 66 15 29 45 17 43 6 70 49 40 36 12 65 3 63 42 56 46 44 50 44 14 75 49 10 12 5 2 67 67 4 61 77 18 52 55 53 65 26 63 64 47 22 36 59 69 10 45 6 62 18 7 ...
output:
YouAreFake!
result:
ok Accepted
Test #81:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
59 69 1 17 4 18 47 43 57 33 12 35 20 50 41 10 8 51 7 20 25 6 8 29 49 41 34 13 24 36 37 45 25 35 38 11 53 39 22 45 46 54 30 42 17 15 32 6 14 7 28 34 3 22 39 56 15 21 27 37 55 26 58 40 48 44 2 31 33 9 38
output:
YouAreWrite! 68 1 17 1152921504606846975 1 4 0 4 18 0 18 47 0 47 43 0 43 57 0 57 33 1152921504606846975 57 12 0 12 35 1152921504606846975 12 20 1152921504606846975 12 50 0 50 41 1152921504606846975 50 10 0 10 8 1152921504606846975 10 51 0 51 7 1152921504606846975 51 20 0 20 25 1152921504606846975 20...
result:
ok Accepted
Test #82:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
91 130 1 82 35 78 2 23 26 67 49 84 44 78 65 74 7 69 52 59 14 82 44 19 47 89 12 72 84 19 40 42 57 79 50 91 53 30 48 73 38 15 33 34 47 22 36 75 89 42 45 24 25 31 27 91 76 63 22 23 71 58 83 65 8 85 76 39 64 79 58 16 36 55 43 6 49 37 61 80 81 29 3 28 37 54 46 5 67 56 31 73 9 17 59 12 13 86 4 41 80 21 13...
output:
YouAreWrite! 129 1 82 1152921504606846975 1 35 0 35 78 1152921504606846975 35 2 0 2 23 1152921504606846975 2 26 0 26 67 1152921504606846975 26 49 1152921504606846975 26 84 1152921504606846975 26 44 1152921504606846975 26 78 0 78 65 1152921504606846975 78 74 1152921504606846975 78 7 11529215046068469...
result:
ok Accepted
Test #83:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
60 77 1 23 6 13 48 5 23 36 28 47 27 57 3 12 21 53 8 13 58 46 20 41 55 47 9 19 52 32 22 8 37 59 29 39 39 41 9 49 15 14 58 3 44 45 54 17 55 43 53 43 59 25 2 27 40 37 17 33 28 52 31 5 4 20 7 16 56 35 44 26 34 50 25 4 42 31 24
output:
YouAreFake!
result:
ok Accepted
Test #84:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
58 79 1 31 54 10 9 20 5 2 46 10 6 30 53 24 7 37 6 58 23 48 29 24 49 17 32 58 8 46 49 29 22 17 11 47 56 33 27 38 40 51 35 19 53 52 12 16 35 4 4 3 55 31 44 50 41 42 34 18 19 11 41 21 5 28 18 44 52 36 33 3 16 39 51 40 25 13 23 25 36
output:
YouAreFake!
result:
ok Accepted
Test #85:
score: 0
Accepted
time: 0ms
memory: 3540kb
input:
52 71 1 9 25 52 33 21 22 16 12 5 11 27 39 8 35 38 23 17 6 51 3 50 26 30 48 5 16 38 8 45 44 49 25 40 19 49 52 34 39 44 20 37 31 29 27 47 46 2 33 24 21 35 37 48 15 13 13 31 18 9 14 34 26 19 51 40 29 6 12 30 47
output:
YouAreFake!
result:
ok Accepted
Test #86:
score: 0
Accepted
time: 0ms
memory: 3740kb
input:
84 116 1 61 39 16 49 80 33 21 62 18 35 3 3 19 62 13 46 30 83 35 60 53 40 26 58 76 78 45 17 28 50 40 31 43 61 65 26 81 58 69 6 52 20 47 82 43 24 56 34 5 8 34 52 48 67 65 30 51 79 76 38 68 37 15 4 60 67 74 84 39 27 36 22 10 68 66 2 14 69 55 21 70 42 59 23 12 28 18 14 82 29 9 64 15 64 63 24 83 57 66 72...
output:
YouAreFake!
result:
ok Accepted
Test #87:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
64 85 1 18 41 4 44 54 21 58 7 18 20 5 13 34 12 8 47 6 38 39 6 51 48 24 53 32 62 64 55 53 3 42 36 63 44 63 4 11 45 40 26 30 15 16 23 55 28 39 31 19 46 48 14 15 19 52 34 59 22 24 12 3 14 47 23 54 61 45 11 26 43 59 50 29 10 25 8 27 37 38 5 56 57 46 30
output:
YouAreFake!
result:
ok Accepted
Test #88:
score: 0
Accepted
time: 0ms
memory: 3752kb
input:
62 84 1 51 61 54 35 47 12 56 2 39 24 37 41 14 13 60 43 52 23 33 43 45 44 22 39 16 10 55 31 36 53 17 16 25 38 60 12 62 26 49 30 21 25 24 37 40 57 6 58 15 19 31 62 7 59 20 4 20 30 11 27 7 18 34 15 59 9 46 3 44 34 3 42 32 5 47 26 18 52 11 56 32 5 41
output:
YouAreWrite! 83 1 51 0 51 61 0 61 54 0 54 35 0 35 47 1152921504606846975 35 12 1152921504606846975 35 56 1152921504606846975 35 2 0 2 39 1152921504606846975 2 24 1152921504606846975 2 37 1152921504606846975 2 41 1152921504606846975 2 14 0 14 13 0 13 60 1152921504606846975 13 43 1152921504606846975 1...
result:
ok Accepted
Test #89:
score: 0
Accepted
time: 0ms
memory: 3724kb
input:
81 100 1 55 29 21 81 81 75 56 67 63 18 34 72 43 69 25 28 15 65 37 74 58 60 52 57 18 62 59 44 69 46 36 62 6 8 57 7 66 73 74 30 67 3 53 25 4 22 44 32 78 63 76 35 61 23 38 19 78 66 9 68 20 40 7 46 64 68 45 21 79 27 8 43 10 50 10 59 70 33 58 24 54 28 32 38 49 14 5 6 13 47 11 39 14 41 35 11 71 51 9
output:
YouAreFake!
result:
ok Accepted
Test #90:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
54 71 1 12 9 41 42 48 47 5 29 52 22 43 8 4 40 42 2 16 39 49 36 34 13 32 4 30 54 29 7 10 34 15 19 25 17 31 46 28 41 15 24 33 18 3 2 23 50 43 39 26 45 46 53 16 32 18 3 45 35 8 36 27 11 27 21 31 25 7 14 49 44
output:
YouAreWrite! 70 1 12 0 12 9 0 9 41 1152921504606846975 9 42 1152921504606846975 9 48 0 48 47 0 47 5 0 5 29 1152921504606846975 5 52 0 52 22 0 22 43 1152921504606846975 22 8 1152921504606846975 22 4 1152921504606846975 22 40 0 40 42 0 42 2 1152921504606846975 42 16 1152921504606846975 42 39 115292150...
result:
ok Accepted
Test #91:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
77 108 1 26 42 58 61 35 3 17 36 9 32 46 55 20 34 16 65 37 77 28 47 24 66 5 48 50 74 65 61 54 10 49 33 41 64 38 7 30 27 23 2 25 39 63 30 46 66 59 41 33 74 34 50 67 57 63 44 71 29 29 53 38 51 76 22 76 73 14 68 11 44 23 62 19 28 10 25 52 15 6 47 49 32 45 60 6 8 18 40 71 43 24 14 36 26 69 4 18 64 69 67 ...
output:
YouAreFake!
result:
ok Accepted
Test #92:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
89 119 1 38 84 77 39 36 58 88 31 35 46 32 28 29 13 14 75 9 12 12 43 56 66 53 24 10 42 6 48 85 80 20 37 40 55 19 23 7 43 54 65 47 10 16 70 44 89 76 22 19 24 59 34 57 41 5 11 34 67 62 78 23 26 80 74 50 79 4 5 41 8 17 31 68 82 7 58 33 69 82 83 66 4 86 54 8 85 21 44 87 74 61 3 6 51 88 14 56 65 75 32 26 ...
output:
YouAreFake!
result:
ok Accepted
Test #93:
score: 0
Accepted
time: 0ms
memory: 3656kb
input:
57 71 1 55 16 44 32 57 9 10 27 26 45 47 50 22 51 29 9 18 19 15 49 2 5 45 8 25 37 22 39 34 14 18 55 17 40 29 8 36 50 54 31 27 13 53 48 11 35 32 20 4 5 21 6 24 14 16 56 13 38 43 25 12 52 4 49 40 30 17 28 33 41
output:
YouAreWrite! 70 1 55 1152921504606846975 1 16 1152921504606846975 1 44 0 44 32 1152921504606846975 44 57 0 57 9 1152921504606846975 57 10 0 10 27 1152921504606846975 10 26 0 26 45 1152921504606846975 26 47 0 47 50 1152921504606846975 47 22 1152921504606846975 47 51 0 51 29 1152921504606846975 51 9 0...
result:
ok Accepted
Test #94:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
64 86 1 60 6 48 25 45 45 30 29 49 20 33 25 38 5 10 19 56 44 16 54 58 60 51 62 50 40 52 28 54 59 35 13 18 15 47 30 44 12 41 12 7 34 43 56 5 24 42 47 26 15 17 32 53 58 27 33 21 9 20 64 49 22 32 26 39 40 63 39 3 46 64 8 27 52 55 62 19 21 22 57 24 14 57 4 29
output:
YouAreFake!
result:
ok Accepted
Test #95:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
80 113 1 77 9 38 35 63 18 49 73 6 72 34 74 15 56 72 51 38 13 6 63 17 39 21 43 16 32 15 45 20 59 25 68 10 69 69 19 58 61 5 48 16 64 75 3 36 76 55 7 60 35 4 8 14 70 23 74 30 3 78 2 9 26 17 31 73 7 18 20 29 46 67 42 25 32 30 11 56 14 45 44 79 37 80 55 33 54 77 53 52 50 39 29 27 24 67 21 19 22 28 62 65 ...
output:
YouAreFake!
result:
ok Accepted
Test #96:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
94 130 1 25 65 52 44 34 24 84 51 9 4 54 87 6 54 25 38 13 92 28 5 72 18 21 88 59 31 61 49 83 66 33 16 87 91 64 6 63 20 30 32 24 93 86 45 36 64 83 53 72 19 92 62 8 45 33 90 94 71 28 2 60 17 10 35 66 56 46 85 48 13 35 55 20 53 68 11 27 14 47 78 62 46 43 51 49 59 70 73 61 26 5 8 38 81 89 50 73 86 80 85 ...
output:
YouAreFake!
result:
ok Accepted
Test #97:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
92 121 1 81 28 45 17 49 38 46 2 33 87 22 65 62 32 92 73 19 48 72 43 63 54 44 68 68 10 12 40 7 49 31 82 9 48 75 7 74 15 13 89 14 70 32 39 20 40 57 56 88 81 16 19 34 66 86 62 53 30 45 35 83 23 86 44 27 30 85 79 3 76 70 79 59 71 55 21 27 29 2 64 26 80 24 39 9 38 29 28 43 52 15 23 36 13 41 25 84 69 66 8...
output:
YouAreFake!
result:
ok Accepted
Test #98:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
67 97 1 24 25 46 43 13 18 12 65 32 2 41 33 6 31 38 27 6 40 7 49 2 4 21 67 64 22 17 45 39 25 30 61 11 26 34 29 63 51 38 3 31 59 58 47 5 21 36 18 5 24 7 12 56 33 8 27 43 19 19 9 60 42 53 37 40 22 35 58 54 23 10 16 14 28 39 32 15 57 53 64 50 48 47 15 48 55 62 14 10 52 3 66 60 59 23 57
output:
YouAreFake!
result:
ok Accepted
Test #99:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
50 75 1 42 34 28 19 39 24 6 27 13 50 46 16 14 41 31 12 42 5 48 18 15 41 49 50 9 38 47 44 20 29 35 24 32 37 11 28 43 36 48 4 38 16 30 2 46 33 22 11 3 23 45 39 40 18 21 9 4 2 5 19 26 32 25 8 7 10 7 15 36 17 29 17 34 49
output:
YouAreWrite! 74 1 42 1152921504606846975 1 34 1152921504606846975 1 28 1152921504606846975 1 19 1152921504606846975 1 39 1152921504606846975 1 24 1152921504606846975 1 6 0 6 27 0 27 13 0 13 50 1152921504606846975 13 46 1152921504606846975 13 16 1152921504606846975 13 14 0 14 41 1152921504606846975 1...
result:
ok Accepted
Test #100:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
53 74 1 6 31 9 17 10 50 44 52 32 39 13 49 23 35 4 50 19 30 47 24 42 19 28 11 33 23 14 9 26 32 15 16 30 47 41 46 44 37 48 51 15 45 49 21 40 28 4 38 53 43 3 6 43 48 24 2 20 17 40 12 27 3 34 2 20 25 35 22 36 5 53 16 8
output:
YouAreWrite! 73 1 6 1152921504606846975 1 31 0 31 9 1152921504606846975 31 17 1152921504606846975 31 10 0 10 50 1152921504606846975 10 44 1152921504606846975 10 52 0 52 32 1152921504606846975 52 39 0 39 13 0 13 49 1152921504606846975 13 23 1152921504606846975 13 35 1152921504606846975 13 4 115292150...
result:
ok Accepted
Test #101:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
69 94 1 17 67 6 54 34 63 7 3 22 40 26 41 45 58 30 34 42 28 20 21 13 55 3 65 44 43 45 63 49 38 38 53 11 65 61 32 15 12 60 30 25 69 60 47 49 14 37 52 64 31 53 67 28 5 18 7 23 46 15 42 9 12 59 10 35 68 56 48 57 64 54 24 22 39 50 56 29 55 29 62 61 8 4 32 4 14 40 50 16 24 44 33 27
output:
YouAreFake!
result:
ok Accepted
Test #102:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
66 88 1 10 29 7 60 11 64 58 29 48 62 27 22 42 4 5 55 51 48 36 30 14 49 33 41 41 16 53 6 55 40 57 4 59 34 54 38 15 36 19 7 16 26 35 39 2 39 46 63 59 23 65 6 17 50 28 61 32 8 51 25 9 42 27 31 34 13 5 66 57 47 46 21 20 40 14 31 38 43 52 23 35 25 45 2 11 13 50
output:
YouAreFake!
result:
ok Accepted
Test #103:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
64 90 1 62 54 48 52 58 10 30 35 14 29 13 51 51 26 7 50 4 45 17 32 22 64 34 60 41 40 3 57 36 30 19 25 21 13 14 20 48 28 5 33 18 50 46 57 35 21 29 43 27 38 40 36 56 53 55 49 22 61 59 59 15 15 18 7 44 47 64 24 56 9 3 46 25 12 39 16 44 61 6 42 23 12 28 16 60 17 8 58 9
output:
YouAreFake!
result:
ok Accepted
Test #104:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
96 135 1 35 77 24 33 78 82 32 61 28 65 25 11 30 57 48 45 31 34 68 72 33 6 7 86 15 84 3 19 85 71 34 62 27 90 4 49 64 52 56 60 67 13 13 57 30 40 37 75 12 35 17 39 44 46 22 73 5 36 70 41 47 69 23 79 80 51 43 70 93 42 31 59 4 29 81 7 2 41 32 49 55 83 28 48 79 42 20 6 54 61 74 21 21 88 10 63 94 3 51 88 9...
output:
YouAreFake!
result:
ok Accepted
Test #105:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
59 92 1 23 50 52 4 39 57 14 15 42 53 25 30 55 13 17 59 40 10 34 45 4 46 35 2 38 11 58 3 41 56 6 37 5 51 49 12 43 50 40 21 30 6 53 20 52 41 31 11 19 13 21 3 16 27 7 39 22 47 57 5 24 36 33 28 2 38 49 51 32 56 18 28 48 44 35 54 29 37 9 22 59 47 55 8 26 54 42 8 32 19 24
output:
YouAreWrite! 91 1 23 0 23 50 1152921504606846975 23 52 1152921504606846975 23 4 1152921504606846975 23 39 1152921504606846975 23 57 1152921504606846975 23 14 0 14 15 0 15 42 1152921504606846975 15 53 1152921504606846975 15 25 0 25 30 1152921504606846975 25 55 1152921504606846975 25 13 11529215046068...
result:
ok Accepted
Test #106:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
100 132 1 97 72 77 98 28 73 60 78 22 14 28 69 37 84 83 99 30 65 52 17 27 9 20 18 67 96 11 67 89 42 66 78 44 86 16 92 21 80 37 12 82 53 49 41 17 51 40 76 42 34 71 48 14 35 2 84 90 36 39 82 94 94 32 62 65 70 85 74 80 55 63 5 86 48 54 2 29 89 25 6 74 58 75 51 12 68 18 57 19 31 90 10 77 40 34 61 76 11 1...
output:
YouAreFake!
result:
ok Accepted
Test #107:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
71 100 1 13 14 46 27 14 29 31 70 44 32 69 51 48 20 38 42 6 34 28 25 15 41 66 16 45 2 67 40 38 16 43 35 27 65 10 58 8 60 4 57 71 43 4 21 21 17 11 15 13 17 59 8 12 10 2 6 55 11 67 48 33 71 66 20 54 24 52 18 29 51 36 62 33 69 45 3 39 30 50 47 26 55 19 50 18 52 39 56 37 7 40 41 49 60 58 9 5 59 3
output:
YouAreFake!
result:
ok Accepted
Test #108:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
66 90 1 50 6 37 53 13 23 57 51 51 37 33 19 65 61 24 59 14 10 48 43 33 58 40 24 38 41 18 13 63 50 7 25 35 3 21 63 10 4 54 31 8 36 20 25 59 45 19 5 32 7 22 16 26 27 11 42 57 60 52 62 15 38 11 4 47 44 29 30 39 22 28 64 15 64 55 45 61 9 60 17 46 27 16 9 43 66 2 32 31
output:
YouAreFake!
result:
ok Accepted
Test #109:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
93 128 1 8 71 16 57 8 67 86 83 6 59 45 29 14 18 4 2 41 81 19 80 34 76 45 23 19 69 21 33 30 70 18 42 77 10 38 12 14 41 72 9 25 20 71 7 56 61 74 46 32 66 82 65 3 36 72 90 5 34 60 24 22 17 40 30 39 80 48 57 23 17 73 31 55 15 76 81 78 6 28 43 7 15 68 27 77 55 78 43 60 32 37 46 62 50 88 47 9 53 61 2 37 4...
output:
YouAreWrite! 127 1 8 1152921504606846975 1 71 1152921504606846975 1 16 0 16 57 1152921504606846975 16 8 0 8 67 1152921504606846975 8 86 1 86 83 0 83 6 1152921504606846974 83 59 0 59 45 1152921504606846974 59 29 1152921504606846974 59 14 1152921504606846974 59 18 1152921504606846974 59 4 0 4 2 115292...
result:
ok Accepted
Test #110:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
72 104 1 27 24 68 25 37 44 69 63 32 70 60 20 59 45 17 29 20 43 13 72 47 66 10 47 28 7 41 12 30 56 58 31 9 33 21 50 51 49 33 14 55 40 18 36 8 64 3 16 29 57 26 19 63 27 2 21 5 61 4 8 52 26 6 69 53 71 46 38 11 52 48 62 9 48 35 19 6 10 44 13 71 40 24 23 36 32 39 59 2 4 50 37 12 30 51 70 66 65 22 49 58 2...
output:
YouAreFake!
result:
ok Accepted
Test #111:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
65 89 1 59 24 19 36 49 43 51 44 63 13 56 57 54 3 5 12 4 29 14 9 10 54 31 38 37 50 20 35 6 45 39 30 26 48 5 26 43 49 7 25 22 27 62 62 28 53 8 4 52 23 33 61 64 57 21 15 48 50 36 33 61 34 42 11 29 27 32 55 47 38 37 58 3 11 35 25 6 24 21 30 65 19 52 23 16 17 34 46
output:
YouAreFake!
result:
ok Accepted
Subtask #5:
score: 0
Wrong Answer
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Dependency #3:
100%
Accepted
Dependency #4:
100%
Accepted
Test #112:
score: 0
Wrong Answer
time: 1ms
memory: 3560kb
input:
74 2151 1 42 71 10 69 68 23 56 59 31 65 55 35 20 66 49 11 22 53 37 58 50 14 60 7 30 2 45 8 74 62 52 13 17 19 51 12 48 70 3 73 5 29 38 39 57 63 24 28 64 32 54 15 4 27 72 47 36 21 40 25 16 26 6 34 9 33 50 57 66 29 54 24 26 27 73 23 22 39 52 19 32 37 53 48 30 47 56 46 64 60 68 31 4 36 43 5 13 41 6 59 6...
output:
YouAreFake!
result:
wrong answer Wrong Answer on the First line of output