QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#511699 | #2674. Vision program | kimmoqt | 100 ✓ | 21ms | 4572kb | C++20 | 1.0kb | 2024-08-10 10:12:33 | 2024-08-10 10:12:34 |
Judging History
answer
#include "vision.h"
#include <bits/stdc++.h>
using namespace std;
void construct_network(int H, int W, int K) {
vector<int> L,R;
for(int s=0;s<H+W-1;s++) {
vector<int> qry;
for(int i=0;i<H;i++) {
for(int j=0;j<W;j++) {
if(i+j==s) {
qry.push_back(i*W+j);
}
}
}
L.push_back(add_xor(qry));
}
for(int s=-(W-1);s<H;s++) {
vector<int> qry;
for(int i=0;i<H;i++) {
for(int j=0;j<W;j++) {
if(i-j==s) {
qry.push_back(i*W+j);
}
}
}
R.push_back(add_xor(qry));
}
for(int i=1;i<L.size();i++) {
L[i]=add_xor({L[i-1],L[i]});
}
for(int i=1;i<R.size();i++) {
R[i]=add_xor({R[i-1],R[i]});
}
auto check=[&](int k) {
vector<int> curL,curR;
for(int s=0;s+k<H+W-1;s++) {
curL.push_back(add_and({L[s],L[s+k]}));
curR.push_back(add_and({R[s],R[s+k]}));
}
int res0=add_or(curL);
int res1=add_or(curR);
return add_and({add_not(res0),add_not(res1)});
};
int t0=check(K);
int t1=check(K-1);
t1=add_not(t1);
int ans=add_and({t0,t1});
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 10
Accepted
Test #1:
score: 10
Accepted
time: 0ms
memory: 3800kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 3 1 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 32 2 1 0 2 1 1 2 1 2 2 1 2 2 1 1 2 1 0 2 2 3 4 2 2 9 5 2 2 6 7 2 2 11 8 0 2 3 9 0 2 6 11 0 2 9 10 0 2 11 12 1 2 13 15 1 2 14 16 3 17 3 18 0 2 19 20 0 2 3 3 0 2 6 6 0 2 9 9 0 2 11 11 0 2 10 10 0 2 12 12 1 3 22 24 26 1 3 23 25 27 3 28 3 29 0 2 30 31 3 32 0 2 21 33
result:
ok
Test #2:
score: 10
Accepted
time: 0ms
memory: 4064kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 3 2 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 28 2 1 0 2 1 1 2 1 2 2 1 2 2 1 1 2 1 0 2 2 3 4 2 2 9 5 2 2 6 7 2 2 11 8 0 2 3 10 0 2 6 12 1 1 13 1 1 14 3 15 3 16 0 2 17 18 0 2 3 9 0 2 6 11 0 2 9 10 0 2 11 12 1 2 20 22 1 2 21 23 3 24 3 25 0 2 26 27 3 28 0 2 19 29
result:
ok
Test #3:
score: 10
Accepted
time: 0ms
memory: 3736kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 3 1 1 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 32 2 1 0 2 1 1 2 1 2 2 1 0 2 1 1 2 1 2 2 2 3 4 2 2 9 5 2 2 6 7 2 2 11 8 0 2 3 9 0 2 6 11 0 2 9 10 0 2 11 12 1 2 13 15 1 2 14 16 3 17 3 18 0 2 19 20 0 2 3 3 0 2 6 6 0 2 9 9 0 2 11 11 0 2 10 10 0 2 12 12 1 3 22 24 26 1 3 23 25 27 3 28 3 29 0 2 30 31 3 32 0 2 21 33
result:
ok
Test #4:
score: 10
Accepted
time: 0ms
memory: 3860kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 3 1 2 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 28 2 1 0 2 1 1 2 1 2 2 1 0 2 1 1 2 1 2 2 2 3 4 2 2 9 5 2 2 6 7 2 2 11 8 0 2 3 10 0 2 6 12 1 1 13 1 1 14 3 15 3 16 0 2 17 18 0 2 3 9 0 2 6 11 0 2 9 10 0 2 11 12 1 2 20 22 1 2 21 23 3 24 3 25 0 2 26 27 3 28 0 2 19 29
result:
ok
Test #5:
score: 10
Accepted
time: 0ms
memory: 4060kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 2 2 1 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 32 2 1 0 2 2 1 2 2 1 3 2 1 1 2 2 0 3 2 1 2 2 2 4 5 2 2 10 6 2 2 7 8 2 2 12 9 0 2 4 10 0 2 7 12 0 2 10 11 0 2 12 13 1 2 14 16 1 2 15 17 3 18 3 19 0 2 20 21 0 2 4 4 0 2 7 7 0 2 10 10 0 2 12 12 0 2 11 11 0 2 13 13 1 3 23 25 27 1 3 24 26 28 3 29 3 30 0 2 31 32 3 3...
result:
ok
Test #6:
score: 10
Accepted
time: 0ms
memory: 3780kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 2 2 2 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 28 2 1 0 2 2 1 2 2 1 3 2 1 1 2 2 0 3 2 1 2 2 2 4 5 2 2 10 6 2 2 7 8 2 2 12 9 0 2 4 11 0 2 7 13 1 1 14 1 1 15 3 16 3 17 0 2 18 19 0 2 4 10 0 2 7 12 0 2 10 11 0 2 12 13 1 2 21 23 1 2 22 24 3 25 3 26 0 2 27 28 3 29 0 2 20 30
result:
ok
Test #7:
score: 10
Accepted
time: 0ms
memory: 3776kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 2 3 1 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 40 2 1 0 2 2 1 3 2 2 2 4 2 1 5 2 1 2 2 2 1 5 2 2 0 4 2 1 3 2 2 6 7 2 2 14 8 2 2 15 9 2 2 10 11 2 2 17 12 2 2 18 13 0 2 6 14 0 2 10 17 0 2 14 15 0 2 17 18 0 2 15 16 0 2 18 19 1 3 20 22 24 1 3 21 23 25 3 26 3 27 0 2 28 29 0 2 6 6 0 2 10 10 0 2 14 14 0 2 17 17 0 ...
result:
ok
Test #8:
score: 10
Accepted
time: 0ms
memory: 4036kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 2 3 2 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 36 2 1 0 2 2 1 3 2 2 2 4 2 1 5 2 1 2 2 2 1 5 2 2 0 4 2 1 3 2 2 6 7 2 2 14 8 2 2 15 9 2 2 10 11 2 2 17 12 2 2 18 13 0 2 6 15 0 2 10 18 0 2 14 16 0 2 17 19 1 2 20 22 1 2 21 23 3 24 3 25 0 2 26 27 0 2 6 14 0 2 10 17 0 2 14 15 0 2 17 18 0 2 15 16 0 2 18 19 1 3 29 ...
result:
ok
Test #9:
score: 10
Accepted
time: 0ms
memory: 4068kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 2 3 3 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 32 2 1 0 2 2 1 3 2 2 2 4 2 1 5 2 1 2 2 2 1 5 2 2 0 4 2 1 3 2 2 6 7 2 2 14 8 2 2 15 9 2 2 10 11 2 2 17 12 2 2 18 13 0 2 6 16 0 2 10 19 1 1 20 1 1 21 3 22 3 23 0 2 24 25 0 2 6 15 0 2 10 18 0 2 14 16 0 2 17 19 1 2 27 29 1 2 28 30 3 31 3 32 0 2 33 34 3 35 0 2 26 36
result:
ok
Test #10:
score: 10
Accepted
time: 0ms
memory: 3860kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 3 2 1 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 40 2 1 0 2 2 1 2 2 2 3 4 2 1 5 2 1 1 2 2 0 3 2 2 2 5 2 1 4 2 2 6 7 2 2 14 8 2 2 15 9 2 2 10 11 2 2 17 12 2 2 18 13 0 2 6 14 0 2 10 17 0 2 14 15 0 2 17 18 0 2 15 16 0 2 18 19 1 3 20 22 24 1 3 21 23 25 3 26 3 27 0 2 28 29 0 2 6 6 0 2 10 10 0 2 14 14 0 2 17 17 0 ...
result:
ok
Test #11:
score: 10
Accepted
time: 0ms
memory: 3776kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 3 2 2 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 36 2 1 0 2 2 1 2 2 2 3 4 2 1 5 2 1 1 2 2 0 3 2 2 2 5 2 1 4 2 2 6 7 2 2 14 8 2 2 15 9 2 2 10 11 2 2 17 12 2 2 18 13 0 2 6 15 0 2 10 18 0 2 14 16 0 2 17 19 1 2 20 22 1 2 21 23 3 24 3 25 0 2 26 27 0 2 6 14 0 2 10 17 0 2 14 15 0 2 17 18 0 2 15 16 0 2 18 19 1 3 29 ...
result:
ok
Test #12:
score: 10
Accepted
time: 0ms
memory: 3796kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 3 2 3 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 32 2 1 0 2 2 1 2 2 2 3 4 2 1 5 2 1 1 2 2 0 3 2 2 2 5 2 1 4 2 2 6 7 2 2 14 8 2 2 15 9 2 2 10 11 2 2 17 12 2 2 18 13 0 2 6 16 0 2 10 19 1 1 20 1 1 21 3 22 3 23 0 2 24 25 0 2 6 15 0 2 10 18 0 2 14 16 0 2 17 19 1 2 27 29 1 2 28 30 3 31 3 32 0 2 33 34 3 35 0 2 26 36
result:
ok
Test #13:
score: 10
Accepted
time: 0ms
memory: 3824kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 3 3 1 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 48 2 1 0 2 2 1 3 2 3 2 4 6 2 2 5 7 2 1 8 2 1 2 2 2 1 5 2 3 0 4 8 2 2 3 7 2 1 6 2 2 9 10 2 2 19 11 2 2 20 12 2 2 21 13 2 2 14 15 2 2 23 16 2 2 24 17 2 2 25 18 0 2 9 19 0 2 14 23 0 2 19 20 0 2 23 24 0 2 20 21 0 2 24 25 0 2 21 22 0 2 25 26 1 4 27 29 31 33 1 4 28 ...
result:
ok
Test #14:
score: 10
Accepted
time: 0ms
memory: 3780kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 3 3 2 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 44 2 1 0 2 2 1 3 2 3 2 4 6 2 2 5 7 2 1 8 2 1 2 2 2 1 5 2 3 0 4 8 2 2 3 7 2 1 6 2 2 9 10 2 2 19 11 2 2 20 12 2 2 21 13 2 2 14 15 2 2 23 16 2 2 24 17 2 2 25 18 0 2 9 20 0 2 14 24 0 2 19 21 0 2 23 25 0 2 20 22 0 2 24 26 1 3 27 29 31 1 3 28 30 32 3 33 3 34 0 2 35 ...
result:
ok
Test #15:
score: 10
Accepted
time: 0ms
memory: 3780kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 3 3 3 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 40 2 1 0 2 2 1 3 2 3 2 4 6 2 2 5 7 2 1 8 2 1 2 2 2 1 5 2 3 0 4 8 2 2 3 7 2 1 6 2 2 9 10 2 2 19 11 2 2 20 12 2 2 21 13 2 2 14 15 2 2 23 16 2 2 24 17 2 2 25 18 0 2 9 21 0 2 14 25 0 2 19 22 0 2 23 26 1 2 27 29 1 2 28 30 3 31 3 32 0 2 33 34 0 2 9 20 0 2 14 24 0 2 ...
result:
ok
Test #16:
score: 10
Accepted
time: 0ms
memory: 4068kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 3 3 4 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 36 2 1 0 2 2 1 3 2 3 2 4 6 2 2 5 7 2 1 8 2 1 2 2 2 1 5 2 3 0 4 8 2 2 3 7 2 1 6 2 2 9 10 2 2 19 11 2 2 20 12 2 2 21 13 2 2 14 15 2 2 23 16 2 2 24 17 2 2 25 18 0 2 9 22 0 2 14 26 1 1 27 1 1 28 3 29 3 30 0 2 31 32 0 2 9 21 0 2 14 25 0 2 19 22 0 2 23 26 1 2 34 36 ...
result:
ok
Test #17:
score: 10
Accepted
time: 0ms
memory: 4064kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 2 1 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 24 2 1 0 2 1 1 2 1 1 2 1 0 2 2 2 3 2 2 4 5 0 2 2 6 0 2 4 7 1 1 8 1 1 9 3 10 3 11 0 2 12 13 0 2 2 2 0 2 4 4 0 2 6 6 0 2 7 7 1 2 15 17 1 2 16 18 3 19 3 20 0 2 21 22 3 23 0 2 14 24
result:
ok
Test #18:
score: 10
Accepted
time: 0ms
memory: 3780kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 2 1 1 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 24 2 1 0 2 1 1 2 1 0 2 1 1 2 2 2 3 2 2 4 5 0 2 2 6 0 2 4 7 1 1 8 1 1 9 3 10 3 11 0 2 12 13 0 2 2 2 0 2 4 4 0 2 6 6 0 2 7 7 1 2 15 17 1 2 16 18 3 19 3 20 0 2 21 22 3 23 0 2 14 24
result:
ok
Subtask #2:
score: 11
Accepted
Test #19:
score: 11
Accepted
time: 0ms
memory: 3804kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 9 3 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 72 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 8 2 1 7 2 1 6 2 1 5 2 1 4 2 1 3 2 1 2 2 1 1 2 1 0 2 2 9 10 2 2 27 11 2 2 28 12 2 2 29 13 2 2 30 14 2 2 31 15 2 2 32 16 2 2 33 17 2 2 18 19 2 2 35 20 2 2 36 21 2 2 37 22 2 2 38 23 2 2 39 24 2 2 40 25 ...
result:
ok
Test #20:
score: 11
Accepted
time: 0ms
memory: 4068kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 9 1 5 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 64 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 2 9 10 2 2 27 11 2 2 28 12 2 2 29 13 2 2 30 14 2 2 31 15 2 2 32 16 2 2 33 17 2 2 18 19 2 2 35 20 2 2 36 21 2 2 37 22 2 2 38 23 2 2 39 24 2 2 40 25 ...
result:
ok
Test #21:
score: 11
Accepted
time: 0ms
memory: 3812kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 10 5 2 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 116 2 1 0 2 2 1 5 2 3 2 6 10 2 4 3 7 11 15 2 5 4 8 12 16 20 2 5 9 13 17 21 25 2 5 14 18 22 26 30 2 5 19 23 27 31 35 2 5 24 28 32 36 40 2 5 29 33 37 41 45 2 4 34 38 42 46 2 3 39 43 47 2 2 44 48 2 1 49 2 1 4 2 2 3 9 2 3 2 8 14 2 4 1 7 13 19 2 5 0 6 12 18 24 2 5 ...
result:
ok
Test #22:
score: 11
Accepted
time: 0ms
memory: 4036kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 5 10 12 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 76 2 1 0 2 2 1 10 2 3 2 11 20 2 4 3 12 21 30 2 5 4 13 22 31 40 2 5 5 14 23 32 41 2 5 6 15 24 33 42 2 5 7 16 25 34 43 2 5 8 17 26 35 44 2 5 9 18 27 36 45 2 4 19 28 37 46 2 3 29 38 47 2 2 39 48 2 1 49 2 1 9 2 2 8 19 2 3 7 18 29 2 4 6 17 28 39 2 5 5 16 27 38 49 2...
result:
ok
Test #23:
score: 11
Accepted
time: 0ms
memory: 4080kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 10 10 1 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 160 2 1 0 2 2 1 10 2 3 2 11 20 2 4 3 12 21 30 2 5 4 13 22 31 40 2 6 5 14 23 32 41 50 2 7 6 15 24 33 42 51 60 2 8 7 16 25 34 43 52 61 70 2 9 8 17 26 35 44 53 62 71 80 2 10 9 18 27 36 45 54 63 72 81 90 2 9 19 28 37 46 55 64 73 82 91 2 8 29 38 47 56 65 74 83 92 2...
result:
ok
Test #24:
score: 11
Accepted
time: 0ms
memory: 4084kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 10 10 5 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 144 2 1 0 2 2 1 10 2 3 2 11 20 2 4 3 12 21 30 2 5 4 13 22 31 40 2 6 5 14 23 32 41 50 2 7 6 15 24 33 42 51 60 2 8 7 16 25 34 43 52 61 70 2 9 8 17 26 35 44 53 62 71 80 2 10 9 18 27 36 45 54 63 72 81 90 2 9 19 28 37 46 55 64 73 82 91 2 8 29 38 47 56 65 74 83 92 2...
result:
ok
Test #25:
score: 11
Accepted
time: 0ms
memory: 3788kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 10 10 9 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 128 2 1 0 2 2 1 10 2 3 2 11 20 2 4 3 12 21 30 2 5 4 13 22 31 40 2 6 5 14 23 32 41 50 2 7 6 15 24 33 42 51 60 2 8 7 16 25 34 43 52 61 70 2 9 8 17 26 35 44 53 62 71 80 2 10 9 18 27 36 45 54 63 72 81 90 2 9 19 28 37 46 55 64 73 82 91 2 8 29 38 47 56 65 74 83 92 2...
result:
ok
Test #26:
score: 11
Accepted
time: 0ms
memory: 3788kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 10 10 14 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 108 2 1 0 2 2 1 10 2 3 2 11 20 2 4 3 12 21 30 2 5 4 13 22 31 40 2 6 5 14 23 32 41 50 2 7 6 15 24 33 42 51 60 2 8 7 16 25 34 43 52 61 70 2 9 8 17 26 35 44 53 62 71 80 2 10 9 18 27 36 45 54 63 72 81 90 2 9 19 28 37 46 55 64 73 82 91 2 8 29 38 47 56 65 74 83 92 2...
result:
ok
Test #27:
score: 11
Accepted
time: 0ms
memory: 4072kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 10 10 18 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 92 2 1 0 2 2 1 10 2 3 2 11 20 2 4 3 12 21 30 2 5 4 13 22 31 40 2 6 5 14 23 32 41 50 2 7 6 15 24 33 42 51 60 2 8 7 16 25 34 43 52 61 70 2 9 8 17 26 35 44 53 62 71 80 2 10 9 18 27 36 45 54 63 72 81 90 2 9 19 28 37 46 55 64 73 82 91 2 8 29 38 47 56 65 74 83 92 2 ...
result:
ok
Subtask #3:
score: 11
Accepted
Dependency #2:
100%
Accepted
Test #28:
score: 11
Accepted
time: 1ms
memory: 3844kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 30 30 15 100 198 292 896 132 11 161 406 319 701 460 596 369 959 191 730 128 923 590 1006 31 451 230 575 143 515 149 571 73 554 699 559 302 658 455 1017 252 283 137 380 159 965 260 639 46 527 332 968 57 457 439 686 320 339 157 358 696 620 727 1022 623 949 35 609 7...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 424 2 1 0 2 2 1 30 2 3 2 31 60 2 4 3 32 61 90 2 5 4 33 62 91 120 2 6 5 34 63 92 121 150 2 7 6 35 64 93 122 151 180 2 8 7 36 65 94 123 152 181 210 2 9 8 37 66 95 124 153 182 211 240 2 10 9 38 67 96 125 154 183 212 241 270 2 11 10 39 68 97 126 155 184 213 242 27...
result:
ok
Test #29:
score: 11
Accepted
time: 0ms
memory: 4044kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 29 15 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 184 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 28 2 1 27 2 1 26 2 1 25 2 1 24 2 1 23 2 1 22 2 1 21 2 1 20 ...
result:
ok
Test #30:
score: 11
Accepted
time: 0ms
memory: 3792kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 29 1 13 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 192 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1...
result:
ok
Test #31:
score: 11
Accepted
time: 1ms
memory: 3796kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 30 15 42 32 210 220 359 210 369 204 275 206 353 210 365 254 353 210 355 207 358 223 374 221 352 222 353 211 274 221 274 220 327 211 352 194 275 207 374 220 375 208 275 223 358 211 275 221 275 210 274 207 353 223 353 210 352 220 374 220 358 210 275 220 353 10 11 1...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 196 2 1 0 2 2 1 15 2 3 2 16 30 2 4 3 17 31 45 2 5 4 18 32 46 60 2 6 5 19 33 47 61 75 2 7 6 20 34 48 62 76 90 2 8 7 21 35 49 63 77 91 105 2 9 8 22 36 50 64 78 92 106 120 2 10 9 23 37 51 65 79 93 107 121 135 2 11 10 24 38 52 66 80 94 108 122 136 150 2 12 11 25 3...
result:
ok
Test #32:
score: 11
Accepted
time: 1ms
memory: 3836kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 15 30 2 94 170 33 3 111 73 28 29 312 282 134 224 107 104 93 82 217 222 19 125 436 437 230 231 199 196 298 299 61 50 233 238 362 363 176 146 452 453 491 501 225 195 16 17 241 246 180 181 410 484 450 300 162 163 181 138 446 408 493 482 116 117 164 129 441 447 148 2...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 356 2 1 0 2 2 1 30 2 3 2 31 60 2 4 3 32 61 90 2 5 4 33 62 91 120 2 6 5 34 63 92 121 150 2 7 6 35 64 93 122 151 180 2 8 7 36 65 94 123 152 181 210 2 9 8 37 66 95 124 153 182 211 240 2 10 9 38 67 96 125 154 183 212 241 270 2 11 10 39 68 97 126 155 184 213 242 27...
result:
ok
Test #33:
score: 11
Accepted
time: 1ms
memory: 3816kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 30 30 1 64 184 397 491 205 206 278 279 366 367 566 567 421 387 156 250 528 529 415 400 429 430 748 749 413 507 408 390 68 69 649 759 79 429 1012 1013 79 64 368 369 963 964 64 65 147 241 37 38 336 702 171 137 240 222 239 224 305 306 133 134 688 670 996 998 742 546...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 480 2 1 0 2 2 1 30 2 3 2 31 60 2 4 3 32 61 90 2 5 4 33 62 91 120 2 6 5 34 63 92 121 150 2 7 6 35 64 93 122 151 180 2 8 7 36 65 94 123 152 181 210 2 9 8 37 66 95 124 153 182 211 240 2 10 9 38 67 96 125 154 183 212 241 270 2 11 10 39 68 97 126 155 184 213 242 27...
result:
ok
Test #34:
score: 11
Accepted
time: 1ms
memory: 3816kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 30 30 15 94 198 999 950 457 594 733 622 77 497 395 699 578 902 340 698 110 375 475 651 367 560 633 941 336 644 426 279 320 301 177 485 173 62 271 976 373 258 12 277 358 995 225 148 451 747 4 502 112 362 714 1018 544 1011 368 707 532 914 708 673 757 838 52 435 202...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 424 2 1 0 2 2 1 30 2 3 2 31 60 2 4 3 32 61 90 2 5 4 33 62 91 120 2 6 5 34 63 92 121 150 2 7 6 35 64 93 122 151 180 2 8 7 36 65 94 123 152 181 210 2 9 8 37 66 95 124 153 182 211 240 2 10 9 38 67 96 125 154 183 212 241 270 2 11 10 39 68 97 126 155 184 213 242 27...
result:
ok
Test #35:
score: 11
Accepted
time: 1ms
memory: 3904kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 30 30 29 94 212 85 934 369 600 122 969 208 497 151 594 51 972 739 967 330 903 505 270 436 744 428 853 279 296 239 979 141 761 149 923 249 368 240 479 171 604 441 971 300 551 386 918 305 905 273 1001 298 540 705 964 251 661 536 985 272 930 16 583 651 1021 112 904 ...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 368 2 1 0 2 2 1 30 2 3 2 31 60 2 4 3 32 61 90 2 5 4 33 62 91 120 2 6 5 34 63 92 121 150 2 7 6 35 64 93 122 151 180 2 8 7 36 65 94 123 152 181 210 2 9 8 37 66 95 124 153 182 211 240 2 10 9 38 67 96 125 154 183 212 241 270 2 11 10 39 68 97 126 155 184 213 242 27...
result:
ok
Test #36:
score: 11
Accepted
time: 1ms
memory: 3896kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 30 30 44 94 227 59 866 167 925 78 1006 459 937 110 937 242 968 195 657 149 635 254 738 83 1011 81 660 90 897 186 633 50 567 185 990 250 728 196 925 195 694 209 563 186 571 144 529 213 528 252 724 144 909 425 897 250 635 225 695 484 939 149 914 190 931 173 900 19 ...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 308 2 1 0 2 2 1 30 2 3 2 31 60 2 4 3 32 61 90 2 5 4 33 62 91 120 2 6 5 34 63 92 121 150 2 7 6 35 64 93 122 151 180 2 8 7 36 65 94 123 152 181 210 2 9 8 37 66 95 124 153 182 211 240 2 10 9 38 67 96 125 154 183 212 241 270 2 11 10 39 68 97 126 155 184 213 242 27...
result:
ok
Test #37:
score: 11
Accepted
time: 0ms
memory: 3752kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 30 30 58 12 241 240 882 241 883 237 919 236 918 202 919 236 953 241 916 239 882 241 882 236 919 323 322 323 289
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 252 2 1 0 2 2 1 30 2 3 2 31 60 2 4 3 32 61 90 2 5 4 33 62 91 120 2 6 5 34 63 92 121 150 2 7 6 35 64 93 122 151 180 2 8 7 36 65 94 123 152 181 210 2 9 8 37 66 95 124 153 182 211 240 2 10 9 38 67 96 125 154 183 212 241 270 2 11 10 39 68 97 126 155 184 213 242 27...
result:
ok
Subtask #4:
score: 15
Accepted
Dependency #3:
100%
Accepted
Test #38:
score: 15
Accepted
time: 4ms
memory: 4216kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 100 100 50 100 373 2576 5424 552 2444 1090 3586 698 7992 6043 6838 1364 8276 6025 8816 2900 5141 3114 3664 302 2171 3930 5433 2225 7225 6218 8326 1972 9191 1325 1432 5656 8200 5864 8290 4135 6498 3016 6790 8474 9563 6462 8785 2409 7590 6598 7251 1916 4460 276 447...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1404 2 1 0 2 2 1 100 2 3 2 101 200 2 4 3 102 201 300 2 5 4 103 202 301 400 2 6 5 104 203 302 401 500 2 7 6 105 204 303 402 501 600 2 8 7 106 205 304 403 502 601 700 2 9 8 107 206 305 404 503 602 701 800 2 10 9 108 207 306 405 504 603 702 801 900 2 11 10 109 20...
result:
ok
Test #39:
score: 15
Accepted
time: 1ms
memory: 4084kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 99 24 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 708 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37 ...
result:
ok
Test #40:
score: 15
Accepted
time: 1ms
memory: 3832kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 99 1 75 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 504 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37 ...
result:
ok
Test #41:
score: 15
Accepted
time: 2ms
memory: 4208kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 100 50 3 94 276 1031 1123 1761 2364 4140 4221 1145 1204 3663 3736 2741 2743 1762 2355 881 898 584 586 4388 4471 2253 2840 4044 3624 4586 4214 2398 2490 2193 2220 2983 2977 1868 1951 3776 3778 1530 1094 4132 4224 4705 4707 2554 2101 604 696 1984 1580 734 751 3278 ...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1192 2 1 0 2 2 1 50 2 3 2 51 100 2 4 3 52 101 150 2 5 4 53 102 151 200 2 6 5 54 103 152 201 250 2 7 6 55 104 153 202 251 300 2 8 7 56 105 154 203 252 301 350 2 9 8 57 106 155 204 253 302 351 400 2 10 9 58 107 156 205 254 303 352 401 450 2 11 10 59 108 157 206 ...
result:
ok
Test #42:
score: 15
Accepted
time: 2ms
memory: 3892kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 50 100 146 62 419 417 4645 448 4187 136 4963 418 4737 357 4963 356 4962 418 4892 451 4743 449 5119 363 4736 455 4737 356 4741 453 4644 358 4743 44 4743 416 4644 448 4961 362 4644 454 4645 363 4645 417 4736 419 4647 357 4742 454 4736 137 4743 143 4644 450 4963 419...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 620 2 1 0 2 2 1 100 2 3 2 101 200 2 4 3 102 201 300 2 5 4 103 202 301 400 2 6 5 104 203 302 401 500 2 7 6 105 204 303 402 501 600 2 8 7 106 205 304 403 502 601 700 2 9 8 107 206 305 404 503 602 701 800 2 10 9 108 207 306 405 504 603 702 801 900 2 11 10 109 208...
result:
ok
Test #43:
score: 15
Accepted
time: 4ms
memory: 4248kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 100 100 1 64 324 653 1385 3089 3325 3659 3668 1240 1860 3151 3115 5912 5913 23 243 4631 4624 5785 5786 4418 4398 9158 9122 6968 6969 2047 2040 4675 4684 1561 1669 7043 6767 4494 4202 10147 10156 2753 2733 2838 2839 4698 4699 945 946 1361 1362 1518 1519 1948 1656 ...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1600 2 1 0 2 2 1 100 2 3 2 101 200 2 4 3 102 201 300 2 5 4 103 202 301 400 2 6 5 104 203 302 401 500 2 7 6 105 204 303 402 501 600 2 8 7 106 205 304 403 502 601 700 2 9 8 107 206 305 404 503 602 701 800 2 10 9 108 207 306 405 504 603 702 801 900 2 11 10 109 20...
result:
ok
Test #44:
score: 15
Accepted
time: 4ms
memory: 3984kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 100 100 50 94 373 862 1646 6792 7492 2571 4015 1404 5116 6915 8002 2647 2595 3391 7806 5480 7551 1179 3527 5801 7798 328 1302 4342 5011 2034 5092 7970 8190 6885 8023 5474 9984 2527 6781 858 2157 2186 5138 581 2333 1759 4801 3966 4215 3244 8687 8166 10088 3531 695...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1404 2 1 0 2 2 1 100 2 3 2 101 200 2 4 3 102 201 300 2 5 4 103 202 301 400 2 6 5 104 203 302 401 500 2 7 6 105 204 303 402 501 600 2 8 7 106 205 304 403 502 601 700 2 9 8 107 206 305 404 503 602 701 800 2 10 9 108 207 306 405 504 603 702 801 900 2 11 10 109 20...
result:
ok
Test #45:
score: 15
Accepted
time: 4ms
memory: 3952kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 100 100 100 94 423 2964 7126 3807 9296 1405 7916 1562 7381 6339 8228 1637 3812 435 6515 2023 9297 3829 6490 2833 9344 1514 9665 930 2794 4373 6908 5849 10065 7465 9329 720 1655 8251 8777 5462 10216 6358 7686 5962 9263 5439 10236 3442 8947 1349 8688 1429 9614 2811...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1204 2 1 0 2 2 1 100 2 3 2 101 200 2 4 3 102 201 300 2 5 4 103 202 301 400 2 6 5 104 203 302 401 500 2 7 6 105 204 303 402 501 600 2 8 7 106 205 304 403 502 601 700 2 9 8 107 206 305 404 503 602 701 800 2 10 9 108 207 306 405 504 603 702 801 900 2 11 10 109 20...
result:
ok
Test #46:
score: 15
Accepted
time: 0ms
memory: 3920kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 100 100 149 94 472 256 7295 2745 10137 1410 7951 911 8809 508 10054 1742 8765 2 8419 481 9309 3332 9467 531 9298 88 9483 2151 7792 735 8460 353 8185 794 8916 61 10004 722 9660 461 7327 1644 10131 1045 9462 4994 10103 451 10061 1378 7746 4053 8750 1117 9425 766 87...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1008 2 1 0 2 2 1 100 2 3 2 101 200 2 4 3 102 201 300 2 5 4 103 202 301 400 2 6 5 104 203 302 401 500 2 7 6 105 204 303 402 501 600 2 8 7 106 205 304 403 502 601 700 2 9 8 107 206 305 404 503 602 701 800 2 10 9 108 207 306 405 504 603 702 801 900 2 11 10 109 20...
result:
ok
Test #47:
score: 15
Accepted
time: 3ms
memory: 3932kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 100 100 198 12 521 621 9478 618 9380 618 9281 521 9378 718 9381 521 9479 619 9381 520 9478 521 9478 618 9381 4444 4447 4444 4528
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 812 2 1 0 2 2 1 100 2 3 2 101 200 2 4 3 102 201 300 2 5 4 103 202 301 400 2 6 5 104 203 302 401 500 2 7 6 105 204 303 402 501 600 2 8 7 106 205 304 403 502 601 700 2 9 8 107 206 305 404 503 602 701 800 2 10 9 108 207 306 405 504 603 702 801 900 2 11 10 109 208...
result:
ok
Subtask #5:
score: 12
Accepted
Test #48:
score: 12
Accepted
time: 1ms
memory: 3916kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 199 1 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1600 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #49:
score: 12
Accepted
time: 1ms
memory: 3904kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 199 99 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1208 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #50:
score: 12
Accepted
time: 0ms
memory: 3972kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 199 100 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1204 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #51:
score: 12
Accepted
time: 1ms
memory: 4092kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 199 198 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 812 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37 ...
result:
ok
Test #52:
score: 12
Accepted
time: 1ms
memory: 3896kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 199 1 2 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1596 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #53:
score: 12
Accepted
time: 0ms
memory: 3904kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 199 1 66 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1340 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #54:
score: 12
Accepted
time: 1ms
memory: 4124kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 199 1 133 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1072 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #55:
score: 12
Accepted
time: 1ms
memory: 3896kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 199 1 197 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 816 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37 ...
result:
ok
Test #56:
score: 12
Accepted
time: 0ms
memory: 3884kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 200 1 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1608 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #57:
score: 12
Accepted
time: 1ms
memory: 3936kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 200 50 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1412 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #58:
score: 12
Accepted
time: 1ms
memory: 3884kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 200 99 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1216 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #59:
score: 12
Accepted
time: 1ms
memory: 3828kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 200 100 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1212 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #60:
score: 12
Accepted
time: 1ms
memory: 3840kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 200 149 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1016 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #61:
score: 12
Accepted
time: 1ms
memory: 4124kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 200 199 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 816 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37 ...
result:
ok
Test #62:
score: 12
Accepted
time: 1ms
memory: 3976kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 1 1 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1608 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #63:
score: 12
Accepted
time: 1ms
memory: 3872kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 1 51 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1408 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #64:
score: 12
Accepted
time: 1ms
memory: 3844kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 1 99 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1216 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #65:
score: 12
Accepted
time: 1ms
memory: 4132kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 1 100 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1212 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #66:
score: 12
Accepted
time: 1ms
memory: 3840kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 1 150 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1012 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #67:
score: 12
Accepted
time: 1ms
memory: 3932kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 1 199 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 816 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37 ...
result:
ok
Test #68:
score: 12
Accepted
time: 0ms
memory: 3776kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 2 1 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 24 2 1 0 2 1 1 2 1 1 2 1 0 2 2 2 3 2 2 4 5 0 2 2 6 0 2 4 7 1 1 8 1 1 9 3 10 3 11 0 2 12 13 0 2 2 2 0 2 4 4 0 2 6 6 0 2 7 7 1 2 15 17 1 2 16 18 3 19 3 20 0 2 21 22 3 23 0 2 14 24
result:
ok
Test #69:
score: 12
Accepted
time: 0ms
memory: 4064kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 2 1 1 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 24 2 1 0 2 1 1 2 1 0 2 1 1 2 2 2 3 2 2 4 5 0 2 2 6 0 2 4 7 1 1 8 1 1 9 3 10 3 11 0 2 12 13 0 2 2 2 0 2 4 4 0 2 6 6 0 2 7 7 1 2 15 17 1 2 16 18 3 19 3 20 0 2 21 22 3 23 0 2 14 24
result:
ok
Subtask #6:
score: 8
Accepted
Test #70:
score: 8
Accepted
time: 0ms
memory: 3780kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 2 2 1 3 128 128 129 128 130 128 131
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 32 2 1 0 2 2 1 2 2 1 3 2 1 1 2 2 0 3 2 1 2 2 2 4 5 2 2 10 6 2 2 7 8 2 2 12 9 0 2 4 10 0 2 7 12 0 2 10 11 0 2 12 13 1 2 14 16 1 2 15 17 3 18 3 19 0 2 20 21 0 2 4 4 0 2 7 7 0 2 10 10 0 2 12 12 0 2 11 11 0 2 13 13 1 3 23 25 27 1 3 24 26 28 3 29 3 30 0 2 31 32 3 3...
result:
ok
Test #71:
score: 8
Accepted
time: 0ms
memory: 3760kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 2 2 2 3 129 129 128 129 131 129 130
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 28 2 1 0 2 2 1 2 2 1 3 2 1 1 2 2 0 3 2 1 2 2 2 4 5 2 2 10 6 2 2 7 8 2 2 12 9 0 2 4 11 0 2 7 13 1 1 14 1 1 15 3 16 3 17 0 2 18 19 0 2 4 10 0 2 7 12 0 2 10 11 0 2 12 13 1 2 21 23 1 2 22 24 3 25 3 26 0 2 27 28 3 29 0 2 20 30
result:
ok
Test #72:
score: 8
Accepted
time: 1ms
memory: 3888kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 101 29 1 8 254 254 255 254 227 254 252 254 196 254 224 254 2958 254 2986 254 226
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1040 2 1 0 2 2 1 29 2 3 2 30 58 2 4 3 31 59 87 2 5 4 32 60 88 116 2 6 5 33 61 89 117 145 2 7 6 34 62 90 118 146 174 2 8 7 35 63 91 119 147 175 203 2 9 8 36 64 92 120 148 176 204 232 2 10 9 37 65 93 121 149 177 205 233 261 2 11 10 38 66 94 122 150 178 206 234 2...
result:
ok
Test #73:
score: 8
Accepted
time: 1ms
memory: 3788kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 101 29 31 92 284 284 330 284 634 284 598 284 114 284 366 284 966 284 814 284 922 284 510 284 474 284 194 284 930 284 42 284 230 284 1002 284 438 284 526 284 778 284 186 284 6 284 958 284 150 284 562 284 886 284 78 284 402 284 850 284 482 284 222 284 367 284 671 2...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 920 2 1 0 2 2 1 29 2 3 2 30 58 2 4 3 31 59 87 2 5 4 32 60 88 116 2 6 5 33 61 89 117 145 2 7 6 34 62 90 118 146 174 2 8 7 35 63 91 119 147 175 203 2 9 8 36 64 92 120 148 176 204 232 2 10 9 37 65 93 121 149 177 205 233 261 2 11 10 38 66 94 122 150 178 206 234 26...
result:
ok
Test #74:
score: 8
Accepted
time: 1ms
memory: 3872kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 101 29 64 92 317 317 1326 317 1566 317 1090 317 1962 317 1046 317 1890 317 2034 317 1190 317 1934 317 1442 317 1074 317 1846 317 1118 317 1234 317 1298 317 1162 317 1862 317 1398 317 2006 317 1918 317 1470 317 1262 317 1514 317 1370 317 1594 317 1486 317 1414 317...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 788 2 1 0 2 2 1 29 2 3 2 30 58 2 4 3 31 59 87 2 5 4 32 60 88 116 2 6 5 33 61 89 117 145 2 7 6 34 62 90 118 146 174 2 8 7 35 63 91 119 147 175 203 2 9 8 36 64 92 120 148 176 204 232 2 10 9 37 65 93 121 149 177 205 233 261 2 11 10 38 66 94 122 150 178 206 234 26...
result:
ok
Test #75:
score: 8
Accepted
time: 1ms
memory: 3848kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 101 29 95 92 348 348 1738 348 3066 348 1682 348 2058 348 2886 348 3030 348 2830 348 2094 348 2866 348 1774 348 2454 348 2310 348 2546 348 2490 348 2238 348 2258 348 2510 348 2142 348 2394 348 2294 348 2402 348 2202 348 2114 348 2922 348 2430 348 1718 348 2210 348...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 664 2 1 0 2 2 1 29 2 3 2 30 58 2 4 3 31 59 87 2 5 4 32 60 88 116 2 6 5 33 61 89 117 145 2 7 6 34 62 90 118 146 174 2 8 7 35 63 91 119 147 175 203 2 9 8 36 64 92 120 148 176 204 232 2 10 9 37 65 93 121 149 177 205 233 261 2 11 10 38 66 94 122 150 178 206 234 26...
result:
ok
Test #76:
score: 8
Accepted
time: 1ms
memory: 3936kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 101 29 128 7 381 381 2606 381 2578 381 2573 381 2601 381 352 381 353 381 380
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 532 2 1 0 2 2 1 29 2 3 2 30 58 2 4 3 31 59 87 2 5 4 32 60 88 116 2 6 5 33 61 89 117 145 2 7 6 34 62 90 118 146 174 2 8 7 35 63 91 119 147 175 203 2 9 8 36 64 92 120 148 176 204 232 2 10 9 37 65 93 121 149 177 205 233 261 2 11 10 38 66 94 122 150 178 206 234 26...
result:
ok
Test #77:
score: 8
Accepted
time: 2ms
memory: 4212kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 44 135 1 8 303 303 302 303 424 303 301 303 33 303 423 303 5660 303 6018 303 425
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1432 2 1 0 2 2 1 135 2 3 2 136 270 2 4 3 137 271 405 2 5 4 138 272 406 540 2 6 5 139 273 407 541 675 2 7 6 140 274 408 542 676 810 2 8 7 141 275 409 543 677 811 945 2 9 8 142 276 410 544 678 812 946 1080 2 10 9 143 277 411 545 679 813 947 1081 1215 2 11 10 144...
result:
ok
Test #78:
score: 8
Accepted
time: 2ms
memory: 3924kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 44 135 45 97 347 347 375 347 6133 347 523 347 4413 347 653 347 1205 347 99 347 4137 347 2885 347 489 347 3097 347 2397 347 1755 347 2519 347 4535 347 229 347 5369 347 2673 347 2121 347 3071 347 5191 347 3585 347 3771 347 3437 347 1075 347 4901 347 4817 347 1465 3...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1256 2 1 0 2 2 1 135 2 3 2 136 270 2 4 3 137 271 405 2 5 4 138 272 406 540 2 6 5 139 273 407 541 675 2 7 6 140 274 408 542 676 810 2 8 7 141 275 409 543 677 811 945 2 9 8 142 276 410 544 678 812 946 1080 2 10 9 143 277 411 545 679 813 947 1081 1215 2 11 10 144...
result:
ok
Test #79:
score: 8
Accepted
time: 2ms
memory: 4204kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 44 135 89 97 391 391 479 391 5981 391 1413 391 3439 391 3021 391 1949 391 6099 391 4657 391 2903 391 1697 391 5445 391 5193 391 3557 391 2651 391 2367 391 763 391 1295 391 4491 391 2485 391 1043 391 1161 391 4909 391 4791 391 4373 391 2115 391 4255 391 2233 391 3...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1080 2 1 0 2 2 1 135 2 3 2 136 270 2 4 3 137 271 405 2 5 4 138 272 406 540 2 6 5 139 273 407 541 675 2 7 6 140 274 408 542 676 810 2 8 7 141 275 409 543 677 811 945 2 9 8 142 276 410 544 678 812 946 1080 2 10 9 143 277 411 545 679 813 947 1081 1215 2 11 10 144...
result:
ok
Test #80:
score: 8
Accepted
time: 0ms
memory: 4168kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 44 135 133 96 435 435 311 435 5813 435 5939 435 2265 435 2115 435 5193 435 1287 435 3515 435 2895 435 1761 435 4491 435 4689 435 2391 435 3987 435 5469 435 4217 435 2609 435 3113 435 1643 435 4365 435 539 435 1919 435 657 435 3389 435 3861 435 3013 435 3585 435 5...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 904 2 1 0 2 2 1 135 2 3 2 136 270 2 4 3 137 271 405 2 5 4 138 272 406 540 2 6 5 139 273 407 541 675 2 7 6 140 274 408 542 676 810 2 8 7 141 275 409 543 677 811 945 2 9 8 142 276 410 544 678 812 946 1080 2 10 9 143 277 411 545 679 813 947 1081 1215 2 11 10 144 ...
result:
ok
Test #81:
score: 8
Accepted
time: 2ms
memory: 4132kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 44 135 177 7 479 479 6003 479 5869 479 5868 479 6002 479 344 479 345 479 478
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 728 2 1 0 2 2 1 135 2 3 2 136 270 2 4 3 137 271 405 2 5 4 138 272 406 540 2 6 5 139 273 407 541 675 2 7 6 140 274 408 542 676 810 2 8 7 141 275 409 543 677 811 945 2 9 8 142 276 410 544 678 812 946 1080 2 10 9 143 277 411 545 679 813 947 1081 1215 2 11 10 144 ...
result:
ok
Test #82:
score: 8
Accepted
time: 1ms
memory: 3912kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 199 1 3 324 324 325 324 326 324 386
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1600 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #83:
score: 8
Accepted
time: 1ms
memory: 4176kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 199 60 5 383 383 324 383 323 383 322 383 441 383 382
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1364 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #84:
score: 8
Accepted
time: 1ms
memory: 4120kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 199 137 5 460 460 324 460 325 460 326 460 266 460 461
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1056 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #85:
score: 8
Accepted
time: 1ms
memory: 3860kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 199 198 3 521 521 716 521 719 521 520
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 812 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37 ...
result:
ok
Test #86:
score: 8
Accepted
time: 1ms
memory: 3916kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 199 1 1 3 324 324 325 324 326 324 386
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1600 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #87:
score: 8
Accepted
time: 1ms
memory: 3896kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 199 1 99 5 422 422 452 422 453 422 450 422 352 422 423
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1208 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #88:
score: 8
Accepted
time: 1ms
memory: 3832kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 199 1 198 3 521 521 716 521 719 521 520
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 812 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37 ...
result:
ok
Test #89:
score: 8
Accepted
time: 8ms
memory: 4076kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 100 1 8 424 424 425 424 460 424 426 424 352 424 461 424 20407 424 19476 424 459
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 2400 2 1 0 2 2 1 100 2 3 2 101 200 2 4 3 102 201 300 2 5 4 103 202 301 400 2 6 5 104 203 302 401 500 2 7 6 105 204 303 402 501 600 2 8 7 106 205 304 403 502 601 700 2 9 8 107 206 305 404 503 602 701 800 2 10 9 108 207 306 405 504 603 702 801 900 2 11 10 109 20...
result:
ok
Test #90:
score: 8
Accepted
time: 8ms
memory: 4312kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 100 100 99 523 523 616 523 9383 523 2364 523 4251 523 8140 523 5966 523 5532 523 8700 523 4879 523 2449 523 7512 523 5221 523 9809 523 7138 523 6215 523 7829 523 3885 523 5617 523 4134 523 4661 523 6526 523 2580 523 5865 523 10221 523 4778 523 8389 523 2053 5...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 2004 2 1 0 2 2 1 100 2 3 2 101 200 2 4 3 102 201 300 2 5 4 103 202 301 400 2 6 5 104 203 302 401 500 2 7 6 105 204 303 402 501 600 2 8 7 106 205 304 403 502 601 700 2 9 8 107 206 305 404 503 602 701 800 2 10 9 108 207 306 405 504 603 702 801 900 2 11 10 109 20...
result:
ok
Test #91:
score: 8
Accepted
time: 8ms
memory: 4052kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 100 199 99 622 622 9569 622 20278 622 15777 622 15345 622 10838 622 19321 622 12328 622 12732 622 17420 622 13171 622 17792 622 18637 622 12857 622 15719 622 13294 622 14872 622 16835 622 11775 622 13012 622 16244 622 19220 622 13545 622 14444 622 12113 622 1...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1608 2 1 0 2 2 1 100 2 3 2 101 200 2 4 3 102 201 300 2 5 4 103 202 301 400 2 6 5 104 203 302 401 500 2 7 6 105 204 303 402 501 600 2 8 7 106 205 304 403 502 601 700 2 9 8 107 206 305 404 503 602 701 800 2 10 9 108 207 306 405 504 603 702 801 900 2 11 10 109 20...
result:
ok
Test #92:
score: 8
Accepted
time: 8ms
memory: 4288kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 100 298 7 721 721 20330 721 19663 721 19662 721 20333 721 693 721 690 721 720
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1212 2 1 0 2 2 1 100 2 3 2 101 200 2 4 3 102 201 300 2 5 4 103 202 301 400 2 6 5 104 203 302 401 500 2 7 6 105 204 303 402 501 600 2 8 7 106 205 304 403 502 601 700 2 9 8 107 206 305 404 503 602 701 800 2 10 9 108 207 306 405 504 603 702 801 900 2 11 10 109 20...
result:
ok
Test #93:
score: 8
Accepted
time: 9ms
memory: 4056kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 100 200 1 8 424 424 425 424 352 424 426 424 56 424 353 424 20407 424 19696 424 367
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 2400 2 1 0 2 2 1 200 2 3 2 201 400 2 4 3 202 401 600 2 5 4 203 402 601 800 2 6 5 204 403 602 801 1000 2 7 6 205 404 603 802 1001 1200 2 8 7 206 405 604 803 1002 1201 1400 2 9 8 207 406 605 804 1003 1202 1401 1600 2 10 9 208 407 606 805 1004 1203 1402 1601 1800...
result:
ok
Test #94:
score: 8
Accepted
time: 9ms
memory: 4052kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 100 200 149 98 572 572 680 572 20405 572 15955 572 11715 572 16539 572 4169 572 3896 572 8043 572 14374 572 13323 572 14156 572 10601 572 13050 572 15024 572 1794 572 18112 572 5411 572 13233 572 1455 572 213 572 18431 572 2378 572 15608 572 8966 572 5695 572 522...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1808 2 1 0 2 2 1 200 2 3 2 201 400 2 4 3 202 401 600 2 5 4 203 402 601 800 2 6 5 204 403 602 801 1000 2 7 6 205 404 603 802 1001 1200 2 8 7 206 405 604 803 1002 1201 1400 2 9 8 207 406 605 804 1003 1202 1401 1600 2 10 9 208 407 606 805 1004 1203 1402 1601 1800...
result:
ok
Test #95:
score: 8
Accepted
time: 8ms
memory: 4056kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 100 200 298 7 721 721 20358 721 19663 721 19662 721 20361 721 537 721 534 721 720
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1212 2 1 0 2 2 1 200 2 3 2 201 400 2 4 3 202 401 600 2 5 4 203 402 601 800 2 6 5 204 403 602 801 1000 2 7 6 205 404 603 802 1001 1200 2 8 7 206 405 604 803 1002 1201 1400 2 9 8 207 406 605 804 1003 1202 1401 1600 2 10 9 208 407 606 805 1004 1203 1402 1601 1800...
result:
ok
Test #96:
score: 8
Accepted
time: 20ms
memory: 4224kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 200 1 8 524 524 525 524 708 524 526 524 924 524 709 524 40499 524 39284 524 715
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 3200 2 1 0 2 2 1 200 2 3 2 201 400 2 4 3 202 401 600 2 5 4 203 402 601 800 2 6 5 204 403 602 801 1000 2 7 6 205 404 603 802 1001 1200 2 8 7 206 405 604 803 1002 1201 1400 2 9 8 207 406 605 804 1003 1202 1401 1600 2 10 9 208 407 606 805 1004 1203 1402 1601 1800...
result:
ok
Test #97:
score: 8
Accepted
time: 16ms
memory: 4220kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 200 100 100 623 623 524 623 20279 623 18515 623 8440 623 18429 623 3772 623 9802 623 10628 623 6334 623 9151 623 9859 623 20222 623 6956 623 17344 623 16974 623 10855 623 837 623 9062 623 14900 623 9237 623 10912 623 8497 623 4452 623 14559 623 4085 623 3683 ...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 2804 2 1 0 2 2 1 200 2 3 2 201 400 2 4 3 202 401 600 2 5 4 203 402 601 800 2 6 5 204 403 602 801 1000 2 7 6 205 404 603 802 1001 1200 2 8 7 206 405 604 803 1002 1201 1400 2 9 8 207 406 605 804 1003 1202 1401 1600 2 10 9 208 407 606 805 1004 1203 1402 1601 1800...
result:
ok
Test #98:
score: 8
Accepted
time: 21ms
memory: 4232kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 200 199 96 722 722 532 722 39010 722 8232 722 16314 722 1303 722 34657 722 16754 722 27170 722 863 722 11377 722 19210 722 4736 722 16395 722 11932 722 7298 722 21186 722 20006 722 28382 722 33538 722 13833 722 33164 722 14494 722 38570 722 1253 722 25673 722...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 2408 2 1 0 2 2 1 200 2 3 2 201 400 2 4 3 202 401 600 2 5 4 203 402 601 800 2 6 5 204 403 602 801 1000 2 7 6 205 404 603 802 1001 1200 2 8 7 206 405 604 803 1002 1201 1400 2 9 8 207 406 605 804 1003 1202 1401 1600 2 10 9 208 407 606 805 1004 1203 1402 1601 1800...
result:
ok
Test #99:
score: 8
Accepted
time: 20ms
memory: 4480kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 200 299 98 822 822 19753 822 39149 822 33026 822 33939 822 34081 822 38890 822 38946 822 39817 822 33012 822 35333 822 25272 822 24618 822 31977 822 24363 822 35933 822 31790 822 31064 822 31377 822 21314 822 24530 822 29086 822 29541 822 19920 822 20788 822 ...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 2008 2 1 0 2 2 1 200 2 3 2 201 400 2 4 3 202 401 600 2 5 4 203 402 601 800 2 6 5 204 403 602 801 1000 2 7 6 205 404 603 802 1001 1200 2 8 7 206 405 604 803 1002 1201 1400 2 9 8 207 406 605 804 1003 1202 1401 1600 2 10 9 208 407 606 805 1004 1203 1402 1601 1800...
result:
ok
Test #100:
score: 8
Accepted
time: 18ms
memory: 4464kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 200 398 7 921 921 39150 921 40871 921 40870 921 39137 921 849 921 862 921 920
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1612 2 1 0 2 2 1 200 2 3 2 201 400 2 4 3 202 401 600 2 5 4 203 402 601 800 2 6 5 204 403 602 801 1000 2 7 6 205 404 603 802 1001 1200 2 8 7 206 405 604 803 1002 1201 1400 2 9 8 207 406 605 804 1003 1202 1401 1600 2 10 9 208 407 606 805 1004 1203 1402 1601 1800...
result:
ok
Subtask #7:
score: 14
Accepted
Test #101:
score: 14
Accepted
time: 17ms
memory: 4228kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 200 1 100 524 24804 34853 20956 34628 18830 29184 28919 32573 11364 24911 2226 5624 3715 30838 2206 17143 21162 27531 20198 27242 5007 12724 27160 32586 3535 7307 17015 25466 626 13891 9132 26194 9198 33073 815 7328 6938 21395 9489 30995 10804 21530 14698 394...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 3200 2 1 0 2 2 1 200 2 3 2 201 400 2 4 3 202 401 600 2 5 4 203 402 601 800 2 6 5 204 403 602 801 1000 2 7 6 205 404 603 802 1001 1200 2 8 7 206 405 604 803 1002 1201 1400 2 9 8 207 406 605 804 1003 1202 1401 1600 2 10 9 208 407 606 805 1004 1203 1402 1601 1800...
result:
ok
Test #102:
score: 14
Accepted
time: 0ms
memory: 3808kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 2 2 1 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 32 2 1 0 2 2 1 2 2 1 3 2 1 1 2 2 0 3 2 1 2 2 2 4 5 2 2 10 6 2 2 7 8 2 2 12 9 0 2 4 10 0 2 7 12 0 2 10 11 0 2 12 13 1 2 14 16 1 2 15 17 3 18 3 19 0 2 20 21 0 2 4 4 0 2 7 7 0 2 10 10 0 2 12 12 0 2 11 11 0 2 13 13 1 3 23 25 27 1 3 24 26 28 3 29 3 30 0 2 31 32 3 3...
result:
ok
Test #103:
score: 14
Accepted
time: 1ms
memory: 4144kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 101 29 1 64 254 2572 2573 1820 1821 2037 2006 1976 1949 3033 3030 2991 2960 513 994 1467 1436 289 286 1774 1747 266 267 269 750 1996 1969 396 369 668 641 848 821 105 74 2239 2236 503 472 3010 3011 265 262 1921 1918 926 927 2092 2065 537 1018 2751 2720 2537 2534 1...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1040 2 1 0 2 2 1 29 2 3 2 30 58 2 4 3 31 59 87 2 5 4 32 60 88 116 2 6 5 33 61 89 117 145 2 7 6 34 62 90 118 146 174 2 8 7 35 63 91 119 147 175 203 2 9 8 36 64 92 120 148 176 204 232 2 10 9 37 65 93 121 149 177 205 233 261 2 11 10 38 66 94 122 150 178 206 234 2...
result:
ok
Test #104:
score: 14
Accepted
time: 0ms
memory: 3956kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 44 135 1 64 303 3956 3955 2873 2994 4171 4292 1161 1794 3633 3722 5975 5974 4529 4528 4900 5053 3455 3576 164 163 6091 6090 2758 2757 2716 2715 4129 4128 2352 2319 4355 4508 4666 4665 294 447 4882 5099 2882 2881 1356 1477 5098 4707 1180 1813 3029 3028 1465 1464 4...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1432 2 1 0 2 2 1 135 2 3 2 136 270 2 4 3 137 271 405 2 5 4 138 272 406 540 2 6 5 139 273 407 541 675 2 7 6 140 274 408 542 676 810 2 8 7 141 275 409 543 677 811 945 2 9 8 142 276 410 544 678 812 946 1080 2 10 9 143 277 411 545 679 813 947 1081 1215 2 11 10 144...
result:
ok
Test #105:
score: 14
Accepted
time: 1ms
memory: 3980kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 199 1 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1600 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #106:
score: 14
Accepted
time: 1ms
memory: 3888kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 199 1 1 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1600 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #107:
score: 14
Accepted
time: 8ms
memory: 4140kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 100 1 64 424 2307 2215 15256 15257 9795 10727 11018 11019 12186 12094 10597 10393 17418 18350 4816 4724 11245 11246 15542 15402 9463 9416 7112 7020 10385 10386 4870 4794 635 636 19749 19750 12766 12658 14657 14658 8155 8063 10491 10271 5560 5596 10188 10080 1...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 2400 2 1 0 2 2 1 100 2 3 2 101 200 2 4 3 102 201 300 2 5 4 103 202 301 400 2 6 5 104 203 302 401 500 2 7 6 105 204 303 402 501 600 2 8 7 106 205 304 403 502 601 700 2 9 8 107 206 305 404 503 602 701 800 2 10 9 108 207 306 405 504 603 702 801 900 2 11 10 109 20...
result:
ok
Test #108:
score: 14
Accepted
time: 9ms
memory: 4072kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 100 200 1 64 424 2490 2418 12659 12660 16591 17287 15701 15469 2849 2809 10684 10685 9480 9481 13053 13749 677 678 18111 18039 8956 9652 3900 3828 14377 14378 11098 11099 6860 6861 11973 12701 12617 12618 9064 9065 1847 1800 6224 6225 6537 6538 17559 17640 13843 ...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 2400 2 1 0 2 2 1 200 2 3 2 201 400 2 4 3 202 401 600 2 5 4 203 402 601 800 2 6 5 204 403 602 801 1000 2 7 6 205 404 603 802 1001 1200 2 8 7 206 405 604 803 1002 1201 1400 2 9 8 207 406 605 804 1003 1202 1401 1600 2 10 9 208 407 606 805 1004 1203 1402 1601 1800...
result:
ok
Test #109:
score: 14
Accepted
time: 21ms
memory: 4220kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 200 1 64 524 29787 29780 29798 30014 5970 5162 1369 1370 33920 33921 21146 21330 27015 27008 24216 24217 10595 11835 38759 38752 21185 21186 22973 24181 2666 2850 14275 14300 5796 6012 21309 21310 34071 34287 19439 19432 17864 19072 28242 28243 4521 5729 1337...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 3200 2 1 0 2 2 1 200 2 3 2 201 400 2 4 3 202 401 600 2 5 4 203 402 601 800 2 6 5 204 403 602 801 1000 2 7 6 205 404 603 802 1001 1200 2 8 7 206 405 604 803 1002 1201 1400 2 9 8 207 406 605 804 1003 1202 1401 1600 2 10 9 208 407 606 805 1004 1203 1402 1601 1800...
result:
ok
Subtask #8:
score: 19
Accepted
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Dependency #3:
100%
Accepted
Dependency #4:
100%
Accepted
Dependency #5:
100%
Accepted
Dependency #6:
100%
Accepted
Dependency #7:
100%
Accepted
Test #110:
score: 19
Accepted
time: 20ms
memory: 4320kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 200 100 100 623 4532 19341 7762 7321 1500 23168 10703 30642 9028 29366 19172 24883 13075 20939 24639 24849 7423 10791 3034 37343 17561 25108 26443 30587 4405 26361 179 1414 9486 24861 3501 29782 28471 28700 16533 28692 5945 5356 23060 32950 33338 33773 20227 ...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 2804 2 1 0 2 2 1 200 2 3 2 201 400 2 4 3 202 401 600 2 5 4 203 402 601 800 2 6 5 204 403 602 801 1000 2 7 6 205 404 603 802 1001 1200 2 8 7 206 405 604 803 1002 1201 1400 2 9 8 207 406 605 804 1003 1202 1401 1600 2 10 9 208 407 606 805 1004 1203 1402 1601 1800...
result:
ok
Test #111:
score: 19
Accepted
time: 1ms
memory: 3788kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 1 199 197 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 816 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37 ...
result:
ok
Test #112:
score: 19
Accepted
time: 1ms
memory: 3892kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 199 1 2 -1
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1596 2 1 0 2 1 1 2 1 2 2 1 3 2 1 4 2 1 5 2 1 6 2 1 7 2 1 8 2 1 9 2 1 10 2 1 11 2 1 12 2 1 13 2 1 14 2 1 15 2 1 16 2 1 17 2 1 18 2 1 19 2 1 20 2 1 21 2 1 22 2 1 23 2 1 24 2 1 25 2 1 26 2 1 27 2 1 28 2 1 29 2 1 30 2 1 31 2 1 32 2 1 33 2 1 34 2 1 35 2 1 36 2 1 37...
result:
ok
Test #113:
score: 19
Accepted
time: 8ms
memory: 4044kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 100 250 94 673 2784 18484 953 16695 230 19187 1871 19171 1215 20252 823 18156 1454 20186 2049 20470 1555 18300 1769 17111 951 19387 3698 20252 626 18498 424 17431 362 20024 1488 18170 430 20397 1901 17850 1503 20043 629 18395 247 18728 375 20431 1390 19234 15...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1404 2 1 0 2 2 1 100 2 3 2 101 200 2 4 3 102 201 300 2 5 4 103 202 301 400 2 6 5 104 203 302 401 500 2 7 6 105 204 303 402 501 600 2 8 7 106 205 304 403 502 601 700 2 9 8 107 206 305 404 503 602 701 800 2 10 9 108 207 306 405 504 603 702 801 900 2 11 10 109 20...
result:
ok
Test #114:
score: 19
Accepted
time: 9ms
memory: 4140kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 100 200 51 94 474 8687 13899 13308 15656 3269 8710 4847 6919 5968 12149 12599 13483 5876 6963 923 8365 10446 13621 7762 12759 11399 16676 11208 19695 1173 11653 15752 19725 6414 9172 10008 17828 8439 17375 12553 17816 4006 10534 6708 14164 9546 17538 8447 11353 1...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 2200 2 1 0 2 2 1 200 2 3 2 201 400 2 4 3 202 401 600 2 5 4 203 402 601 800 2 6 5 204 403 602 801 1000 2 7 6 205 404 603 802 1001 1200 2 8 7 206 405 604 803 1002 1201 1400 2 9 8 207 406 605 804 1003 1202 1401 1600 2 10 9 208 407 606 805 1004 1203 1402 1601 1800...
result:
ok
Test #115:
score: 19
Accepted
time: 16ms
memory: 4224kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 199 199 198 94 719 3244 38409 21747 33440 5476 35849 29947 34296 16302 17283 16661 32730 9203 23608 25219 34544 5877 17584 14584 37253 1772 26457 6840 33277 2245 37882 6240 34981 12330 36219 3162 37451 127 23670 11058 30471 7018 14287 14060 34001 12035 29432 7956...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 2396 2 1 0 2 2 1 199 2 3 2 200 398 2 4 3 201 399 597 2 5 4 202 400 598 796 2 6 5 203 401 599 797 995 2 7 6 204 402 600 798 996 1194 2 8 7 205 403 601 799 997 1195 1393 2 9 8 206 404 602 800 998 1196 1394 1592 2 10 9 207 405 603 801 999 1197 1395 1593 1791 2 11...
result:
ok
Test #116:
score: 19
Accepted
time: 20ms
memory: 4508kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 199 199 199 94 720 9280 27810 1802 23474 3223 29121 6660 25854 13634 35660 26241 36209 19664 35538 24487 38717 5836 31886 7654 25124 14905 32297 17604 29262 13395 22727 10892 20126 5423 13713 14137 35851 12612 34252 1835 25973 19290 35324 16830 28528 8898 32460 9...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 2392 2 1 0 2 2 1 199 2 3 2 200 398 2 4 3 201 399 597 2 5 4 202 400 598 796 2 6 5 203 401 599 797 995 2 7 6 204 402 600 798 996 1194 2 8 7 205 403 601 799 997 1195 1393 2 9 8 206 404 602 800 998 1196 1394 1592 2 10 9 207 405 603 801 999 1197 1395 1593 1791 2 11...
result:
ok
Test #117:
score: 19
Accepted
time: 20ms
memory: 4520kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 199 199 94 721 10681 24779 1348 29334 2111 12805 18135 38239 9904 18402 1924 37206 5208 23290 10436 20930 11998 28960 6070 28216 2542 25568 8463 29345 1228 17774 23546 37820 218 25932 6078 33638 23477 38199 17387 22813 17342 35058 13379 35717 19589 29151 2292...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 2400 2 1 0 2 2 1 199 2 3 2 200 398 2 4 3 201 399 597 2 5 4 202 400 598 796 2 6 5 203 401 599 797 995 2 7 6 204 402 600 798 996 1194 2 8 7 205 403 601 799 997 1195 1393 2 9 8 206 404 602 800 998 1196 1394 1592 2 10 9 207 405 603 801 999 1197 1395 1593 1791 2 11...
result:
ok
Test #118:
score: 19
Accepted
time: 20ms
memory: 4252kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 199 200 199 94 721 2518 34899 5656 22652 10586 38421 26886 35062 4638 39092 11538 22170 12248 34580 11196 35800 19003 33923 17691 28126 356 39312 26067 36908 3081 4898 1497 22034 3031 25284 6271 33899 1451 35410 8080 37305 2629 13918 18794 32559 11530 27569 1942 ...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 2400 2 1 0 2 2 1 200 2 3 2 201 400 2 4 3 202 401 600 2 5 4 203 402 601 800 2 6 5 204 403 602 801 1000 2 7 6 205 404 603 802 1001 1200 2 8 7 206 405 604 803 1002 1201 1400 2 9 8 207 406 605 804 1003 1202 1401 1600 2 10 9 208 407 606 805 1004 1203 1402 1601 1800...
result:
ok
Test #119:
score: 19
Accepted
time: 21ms
memory: 4504kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 200 1 64 524 29787 29780 29798 30014 5970 5162 1369 1370 33920 33921 21146 21330 27015 27008 24216 24217 10595 11835 38759 38752 21185 21186 22973 24181 2666 2850 14275 14300 5796 6012 21309 21310 34071 34287 19439 19432 17864 19072 28242 28243 4521 5729 1337...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 3200 2 1 0 2 2 1 200 2 3 2 201 400 2 4 3 202 401 600 2 5 4 203 402 601 800 2 6 5 204 403 602 801 1000 2 7 6 205 404 603 802 1001 1200 2 8 7 206 405 604 803 1002 1201 1400 2 9 8 207 406 605 804 1003 1202 1401 1600 2 10 9 208 407 606 805 1004 1203 1402 1601 1800...
result:
ok
Test #120:
score: 19
Accepted
time: 19ms
memory: 4168kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 200 100 94 623 8484 19858 27934 29391 16610 28855 11944 22016 1891 9562 16460 33975 3581 15011 18741 27123 1893 6018 13713 30390 8289 13768 21882 31683 16453 36054 5774 15091 15029 18720 32908 37289 15679 15836 8673 11363 18024 34117 10256 26831 5430 14715 21...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 2804 2 1 0 2 2 1 200 2 3 2 201 400 2 4 3 202 401 600 2 5 4 203 402 601 800 2 6 5 204 403 602 801 1000 2 7 6 205 404 603 802 1001 1200 2 8 7 206 405 604 803 1002 1201 1400 2 9 8 207 406 605 804 1003 1202 1401 1600 2 10 9 208 407 606 805 1004 1203 1402 1601 1800...
result:
ok
Test #121:
score: 19
Accepted
time: 20ms
memory: 4572kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 200 199 94 722 31537 33252 8124 37349 1847 38753 10632 38921 18662 33572 32608 35881 10561 26000 8537 33084 15120 36397 4522 27741 15933 37250 867 37936 27101 36752 1919 31816 5900 12645 6167 27754 4783 20279 11974 32608 5350 34663 13664 34828 595 29669 10377...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 2408 2 1 0 2 2 1 200 2 3 2 201 400 2 4 3 202 401 600 2 5 4 203 402 601 800 2 6 5 204 403 602 801 1000 2 7 6 205 404 603 802 1001 1200 2 8 7 206 405 604 803 1002 1201 1400 2 9 8 207 406 605 804 1003 1202 1401 1600 2 10 9 208 407 606 805 1004 1203 1402 1601 1800...
result:
ok
Test #122:
score: 19
Accepted
time: 20ms
memory: 4308kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 200 200 94 723 13057 39548 11384 29625 4414 34744 4083 33122 4291 36730 14283 29205 11377 28921 6374 38038 3987 13235 12291 31176 2132 28122 11901 24436 20401 22963 23301 33190 164 17781 17905 22923 6842 38930 25787 39086 9738 34469 4938 30141 26306 31494 272...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 2404 2 1 0 2 2 1 200 2 3 2 201 400 2 4 3 202 401 600 2 5 4 203 402 601 800 2 6 5 204 403 602 801 1000 2 7 6 205 404 603 802 1001 1200 2 8 7 206 405 604 803 1002 1201 1400 2 9 8 207 406 605 804 1003 1202 1401 1600 2 10 9 208 407 606 805 1004 1203 1402 1601 1800...
result:
ok
Test #123:
score: 19
Accepted
time: 20ms
memory: 4228kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 200 299 94 822 2731 39486 4407 31286 11715 40730 2682 37074 3686 34967 7151 38359 12927 37503 4990 31586 2514 24586 3124 39669 348 38542 7125 33793 8077 38368 5834 34027 13003 34619 2631 28858 2281 37568 2198 37245 7039 36681 1673 35040 7015 32773 7175 39400 ...
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 2008 2 1 0 2 2 1 200 2 3 2 201 400 2 4 3 202 401 600 2 5 4 203 402 601 800 2 6 5 204 403 602 801 1000 2 7 6 205 404 603 802 1001 1200 2 8 7 206 405 604 803 1002 1201 1400 2 9 8 207 406 605 804 1003 1202 1401 1600 2 10 9 208 407 606 805 1004 1203 1402 1601 1800...
result:
ok
Test #124:
score: 19
Accepted
time: 16ms
memory: 4212kb
input:
c2675211-ade0-44b0-8c15-741dd835f3d2 200 200 398 12 921 921 40871 921 39150 862 39136 863 39137 849 40870 534 39137 862 39209 920 40870 921 40870 862 39137 20002 20005 20002 19738
output:
b17553fd-ba5a-4140-836c-491f938c515b OK 1612 2 1 0 2 2 1 200 2 3 2 201 400 2 4 3 202 401 600 2 5 4 203 402 601 800 2 6 5 204 403 602 801 1000 2 7 6 205 404 603 802 1001 1200 2 8 7 206 405 604 803 1002 1201 1400 2 9 8 207 406 605 804 1003 1202 1401 1600 2 10 9 208 407 606 805 1004 1203 1402 1601 1800...
result:
ok
Extra Test:
score: 0
Extra Test Passed