QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#320452 | #8215. Isomorphic Delight | ucup-team017# | AC ✓ | 86ms | 33928kb | C++14 | 2.0kb | 2024-02-03 17:01:57 | 2024-02-03 17:01:58 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 4348kb
input:
1
output:
YES 0
result:
ok Everything ok
Test #2:
score: 0
Accepted
time: 0ms
memory: 4504kb
input:
6
output:
YES 6 1 2 2 3 1 3 3 4 2 5 5 6
result:
ok Everything ok
Test #3:
score: 0
Accepted
time: 1ms
memory: 4408kb
input:
4
output:
NO
result:
ok Everything ok
Test #4:
score: 0
Accepted
time: 1ms
memory: 4480kb
input:
2
output:
NO
result:
ok Everything ok
Test #5:
score: 0
Accepted
time: 1ms
memory: 4404kb
input:
3
output:
NO
result:
ok Everything ok
Test #6:
score: 0
Accepted
time: 1ms
memory: 4468kb
input:
5
output:
NO
result:
ok Everything ok
Test #7:
score: 0
Accepted
time: 2ms
memory: 10896kb
input:
7
output:
YES 6 2 3 3 4 4 5 5 6 6 7 1 4
result:
ok Everything ok
Test #8:
score: 0
Accepted
time: 0ms
memory: 10588kb
input:
8
output:
YES 6 2 6 2 4 2 3 4 5 6 7 7 8
result:
ok Everything ok
Test #9:
score: 0
Accepted
time: 0ms
memory: 10672kb
input:
9
output:
YES 7 3 4 4 5 5 6 6 7 7 8 8 9 2 5
result:
ok Everything ok
Test #10:
score: 0
Accepted
time: 1ms
memory: 10676kb
input:
10
output:
YES 8 3 4 4 5 5 6 6 7 7 8 8 9 9 10 2 5
result:
ok Everything ok
Test #11:
score: 0
Accepted
time: 2ms
memory: 12864kb
input:
11
output:
YES 9 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 2 5
result:
ok Everything ok
Test #12:
score: 0
Accepted
time: 0ms
memory: 10908kb
input:
12
output:
YES 10 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 2 5
result:
ok Everything ok
Test #13:
score: 0
Accepted
time: 2ms
memory: 10580kb
input:
13
output:
YES 11 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 2 5
result:
ok Everything ok
Test #14:
score: 0
Accepted
time: 2ms
memory: 10616kb
input:
14
output:
YES 12 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 2 5
result:
ok Everything ok
Test #15:
score: 0
Accepted
time: 2ms
memory: 10616kb
input:
15
output:
YES 13 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 2 5
result:
ok Everything ok
Test #16:
score: 0
Accepted
time: 2ms
memory: 10688kb
input:
16
output:
YES 13 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16
result:
ok Everything ok
Test #17:
score: 0
Accepted
time: 0ms
memory: 10616kb
input:
17
output:
YES 14 2 6 2 4 2 3 4 5 6 7 7 8 10 11 11 12 12 13 13 14 14 15 15 16 16 17 9 12
result:
ok Everything ok
Test #18:
score: 0
Accepted
time: 2ms
memory: 10900kb
input:
18
output:
YES 15 2 6 2 4 2 3 4 5 6 7 7 8 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 9 12
result:
ok Everything ok
Test #19:
score: 0
Accepted
time: 2ms
memory: 10904kb
input:
19
output:
YES 16 2 6 2 4 2 3 4 5 6 7 7 8 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 9 12
result:
ok Everything ok
Test #20:
score: 0
Accepted
time: 2ms
memory: 10692kb
input:
598
output:
YES 544 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 58 ...
result:
ok Everything ok
Test #21:
score: 0
Accepted
time: 2ms
memory: 10624kb
input:
245
output:
YES 221 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 58 ...
result:
ok Everything ok
Test #22:
score: 0
Accepted
time: 0ms
memory: 10920kb
input:
793
output:
YES 724 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 58 ...
result:
ok Everything ok
Test #23:
score: 0
Accepted
time: 2ms
memory: 10604kb
input:
133
output:
YES 119 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 58 ...
result:
ok Everything ok
Test #24:
score: 0
Accepted
time: 0ms
memory: 10632kb
input:
681
output:
YES 620 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 58 ...
result:
ok Everything ok
Test #25:
score: 0
Accepted
time: 2ms
memory: 10600kb
input:
922
output:
YES 843 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 58 ...
result:
ok Everything ok
Test #26:
score: 0
Accepted
time: 0ms
memory: 10640kb
input:
876
output:
YES 800 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 58 ...
result:
ok Everything ok
Test #27:
score: 0
Accepted
time: 2ms
memory: 10796kb
input:
7740
output:
YES 7191 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 58...
result:
ok Everything ok
Test #28:
score: 0
Accepted
time: 2ms
memory: 10984kb
input:
2460
output:
YES 2268 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 58...
result:
ok Everything ok
Test #29:
score: 0
Accepted
time: 2ms
memory: 10844kb
input:
7533
output:
YES 6998 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 58...
result:
ok Everything ok
Test #30:
score: 0
Accepted
time: 0ms
memory: 11068kb
input:
5957
output:
YES 5527 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 58...
result:
ok Everything ok
Test #31:
score: 0
Accepted
time: 7ms
memory: 11852kb
input:
92651
output:
YES 87225 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 5...
result:
ok Everything ok
Test #32:
score: 0
Accepted
time: 4ms
memory: 11472kb
input:
58779
output:
YES 55235 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 5...
result:
ok Everything ok
Test #33:
score: 0
Accepted
time: 3ms
memory: 11160kb
input:
12203
output:
YES 11374 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 5...
result:
ok Everything ok
Test #34:
score: 0
Accepted
time: 4ms
memory: 13440kb
input:
55627
output:
YES 52258 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 5...
result:
ok Everything ok
Test #35:
score: 0
Accepted
time: 12ms
memory: 13864kb
input:
99051
output:
YES 93269 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 5...
result:
ok Everything ok
Test #36:
score: 0
Accepted
time: 72ms
memory: 32488kb
input:
811713
output:
YES 770513 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 ...
result:
ok Everything ok
Test #37:
score: 0
Accepted
time: 50ms
memory: 26392kb
input:
544133
output:
YES 515717 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 ...
result:
ok Everything ok
Test #38:
score: 0
Accepted
time: 22ms
memory: 23200kb
input:
276553
output:
YES 261516 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 ...
result:
ok Everything ok
Test #39:
score: 0
Accepted
time: 70ms
memory: 32820kb
input:
736904
output:
YES 699266 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 ...
result:
ok Everything ok
Test #40:
score: 0
Accepted
time: 86ms
memory: 33928kb
input:
1000000
output:
YES 949834 2 6 2 4 2 3 4 5 6 7 7 8 9 13 9 10 10 11 11 12 13 15 13 14 15 16 17 22 17 19 17 18 19 20 20 21 22 24 22 23 24 25 26 31 26 27 27 29 27 28 29 30 31 32 32 33 33 34 35 40 35 37 35 36 37 38 38 39 40 41 41 42 42 43 44 49 44 45 45 46 46 47 47 48 49 51 49 50 51 52 52 53 54 60 54 57 54 55 55 56 57 ...
result:
ok Everything ok
Extra Test:
score: 0
Extra Test Passed