QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#259512 | #3269. 末日魔法少女计划 | flower | 22 | 379ms | 19284kb | C++20 | 3.6kb | 2023-11-20 23:55:09 | 2023-11-20 23:55:09 |
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
Subtask #1:
score: 22
Accepted
Test #1:
score: 22
Accepted
time: 374ms
memory: 18916kb
input:
2000 2
output:
15974 0 3 0 7 0 15 0 31 0 62 0 125 0 250 0 500 0 1000 1 3 1 7 1 15 1 31 1 62 1 125 1 250 1 500 1 1000 2 7 2 15 2 31 2 62 2 125 2 250 2 500 2 1000 3 5 3 6 3 7 3 15 3 31 3 62 3 125 3 250 3 500 3 1000 4 7 4 15 4 31 4 62 4 125 4 250 4 500 4 1000 5 7 5 15 5 31 5 62 5 125 5 250 5 500 5 1000 6 15 6 31 6 62...
result:
ok
Test #2:
score: 22
Accepted
time: 371ms
memory: 19048kb
input:
1999 2
output:
15965 0 3 0 7 0 15 0 31 0 62 0 125 0 250 0 500 0 1000 1 3 1 7 1 15 1 31 1 62 1 125 1 250 1 500 1 1000 2 7 2 15 2 31 2 62 2 125 2 250 2 500 2 1000 3 5 3 6 3 7 3 15 3 31 3 62 3 125 3 250 3 500 3 1000 4 7 4 15 4 31 4 62 4 125 4 250 4 500 4 1000 5 7 5 15 5 31 5 62 5 125 5 250 5 500 5 1000 6 15 6 31 6 62...
result:
ok
Test #3:
score: 22
Accepted
time: 366ms
memory: 19084kb
input:
1992 2
output:
15902 0 3 0 7 0 15 0 31 0 62 0 124 0 249 0 498 0 996 1 3 1 7 1 15 1 31 1 62 1 124 1 249 1 498 1 996 2 7 2 15 2 31 2 62 2 124 2 249 2 498 2 996 3 5 3 6 3 7 3 15 3 31 3 62 3 124 3 249 3 498 3 996 4 7 4 15 4 31 4 62 4 124 4 249 4 498 4 996 5 7 5 15 5 31 5 62 5 124 5 249 5 498 5 996 6 15 6 31 6 62 6 124...
result:
ok
Test #4:
score: 22
Accepted
time: 379ms
memory: 19284kb
input:
1973 2
output:
15731 0 3 0 7 0 15 0 30 0 61 0 123 0 246 0 493 0 987 1 3 1 7 1 15 1 30 1 61 1 123 1 246 1 493 1 987 2 7 2 15 2 30 2 61 2 123 2 246 2 493 2 987 3 5 3 6 3 7 3 15 3 30 3 61 3 123 3 246 3 493 3 987 4 7 4 15 4 30 4 61 4 123 4 246 4 493 4 987 5 7 5 15 5 30 5 61 5 123 5 246 5 493 5 987 6 15 6 30 6 61 6 123...
result:
ok
Test #5:
score: 22
Accepted
time: 364ms
memory: 19040kb
input:
1936 2
output:
15398 0 3 0 7 0 15 0 30 0 60 0 121 0 242 0 484 0 968 1 3 1 7 1 15 1 30 1 60 1 121 1 242 1 484 1 968 2 7 2 15 2 30 2 60 2 121 2 242 2 484 2 968 3 5 3 6 3 7 3 15 3 30 3 60 3 121 3 242 3 484 3 968 4 7 4 15 4 30 4 60 4 121 4 242 4 484 4 968 5 7 5 15 5 30 5 60 5 121 5 242 5 484 5 968 6 15 6 30 6 60 6 121...
result:
ok
Subtask #2:
score: 0
Wrong Answer
Test #6:
score: 0
Wrong Answer
time: 374ms
memory: 18948kb
input:
1936 3
output:
7249 0 3 0 12 0 46 0 248 1 3 1 12 1 46 1 248 2 12 2 46 2 248 3 5 3 12 3 46 3 248 4 12 4 46 4 248 5 7 5 12 5 46 5 248 6 12 6 46 6 248 7 9 7 10 7 11 7 12 7 46 7 248 8 12 8 46 8 248 9 12 9 46 9 248 10 12 10 46 10 248 11 46 11 248 12 14 12 15 12 16 12 17 12 22 12 27 12 32 12 46 12 248 13 17 13 46 13 248...
result:
wrong answer Not correct
Subtask #3:
score: 0
Wrong Answer
Test #11:
score: 0
Wrong Answer
time: 365ms
memory: 18956kb
input:
2000 4
output:
4730 0 5 0 40 1 5 1 40 2 5 2 40 3 5 3 40 4 40 5 7 5 11 5 19 5 40 6 40 7 9 7 11 7 19 7 40 8 40 9 11 9 19 9 40 10 40 11 13 11 15 11 17 11 19 11 40 12 40 13 15 13 19 13 40 14 40 15 17 15 19 15 40 16 40 17 19 17 40 18 40 19 21 19 23 19 25 19 27 19 29 19 31 19 33 19 40 20 40 21 23 21 27 21 40 22 40 23 25...
result:
wrong answer Not correct
Subtask #4:
score: 0
Wrong Answer
Test #16:
score: 0
Wrong Answer
time: 371ms
memory: 18964kb
input:
2000 5
output:
3903 0 5 0 34 1 5 1 34 2 5 2 34 3 5 3 34 4 34 5 7 5 11 5 34 6 34 7 9 7 11 7 34 8 34 9 11 9 34 10 34 11 13 11 15 11 34 12 34 13 15 13 34 14 34 15 17 15 19 15 34 16 34 17 19 17 34 18 34 19 21 19 23 19 25 19 27 19 34 20 34 21 23 21 34 22 34 23 25 23 34 24 34 25 27 25 34 26 34 27 29 27 30 27 31 27 32 27...
result:
wrong answer Not correct
Subtask #5:
score: 0
Wrong Answer
Test #21:
score: 0
Wrong Answer
time: 366ms
memory: 18888kb
input:
2000 6
output:
3186 0 8 1 6 1 8 2 8 3 8 4 8 5 8 6 8 8 10 8 18 8 82 10 12 10 18 10 82 12 14 12 18 12 82 14 16 14 18 14 82 16 18 16 82 18 20 18 22 18 30 18 46 18 82 20 22 20 82 22 24 22 26 22 30 22 46 22 82 24 26 24 82 26 28 26 30 26 46 26 82 28 30 28 82 30 32 30 34 30 38 30 42 30 46 30 82 32 34 32 82 34 36 34 38 34...
result:
wrong answer Not correct
Subtask #6:
score: 0
Wrong Answer
Test #26:
score: 0
Wrong Answer
time: 370ms
memory: 18920kb
input:
1999 7
output:
2895 0 8 1 8 2 8 3 8 4 8 5 8 6 8 8 10 8 20 8 78 10 12 10 20 10 78 12 14 12 20 12 78 14 16 14 20 14 78 16 18 16 20 16 78 18 20 18 78 20 22 20 24 20 32 20 78 22 24 22 78 24 26 24 28 24 32 24 78 26 28 26 78 28 30 28 32 28 78 30 32 30 78 32 34 32 36 32 40 32 78 34 36 34 78 36 38 36 40 36 78 38 40 38 78 ...
result:
wrong answer Not correct
Subtask #7:
score: 0
Wrong Answer
Test #31:
score: 0
Wrong Answer
time: 366ms
memory: 18920kb
input:
1995 8
output:
2489 0 9 1 9 2 9 3 9 4 9 5 9 6 9 7 9 9 11 9 23 11 13 11 23 13 15 13 23 15 17 15 23 17 19 17 23 19 21 19 23 21 23 23 25 23 27 23 43 23 119 25 27 27 29 27 31 27 43 27 119 29 31 31 33 31 35 31 43 31 119 33 35 35 37 35 39 35 43 35 119 37 39 39 41 39 43 39 119 41 43 43 45 43 47 43 51 43 67 43 119 45 47 4...
result:
wrong answer Not correct
Subtask #8:
score: 0
Wrong Answer
Test #36:
score: 0
Wrong Answer
time: 377ms
memory: 18868kb
input:
1997 9
output:
2378 0 10 1 10 2 10 3 10 4 10 5 10 6 10 7 10 8 10 10 12 10 26 12 14 12 26 14 16 14 26 16 18 16 26 18 20 18 26 20 22 20 26 22 24 22 26 24 26 26 28 26 30 26 50 26 174 28 30 30 32 30 34 30 50 30 174 32 34 34 36 34 38 34 50 34 174 36 38 38 40 38 42 38 50 38 174 40 42 42 44 42 46 42 50 42 174 44 46 46 48...
result:
wrong answer Not correct
Subtask #9:
score: 0
Wrong Answer
Test #41:
score: 0
Wrong Answer
time: 366ms
memory: 18884kb
input:
1995 10
output:
2191 0 11 1 11 2 11 3 11 4 11 5 11 6 11 7 11 8 11 9 11 11 13 11 29 13 15 13 29 15 17 15 29 17 19 17 29 19 21 19 29 21 23 21 29 23 25 23 29 25 27 25 29 27 29 29 31 29 33 29 57 31 33 33 35 33 37 33 57 35 37 37 39 37 41 37 57 39 41 41 43 41 45 41 57 43 45 45 47 45 49 45 57 47 49 49 51 49 53 49 57 51 53...
result:
wrong answer Not correct
Subtask #10:
score: 0
Wrong Answer
Test #46:
score: 0
Wrong Answer
time: 361ms
memory: 18868kb
input:
1993 11
output:
2131 0 12 1 12 2 12 3 12 4 12 5 12 6 12 7 12 8 12 9 12 10 12 12 14 12 32 14 16 14 32 16 18 16 32 18 20 18 32 20 22 20 32 22 24 22 32 24 26 24 32 26 28 26 32 28 30 28 32 30 32 32 34 32 36 32 64 34 36 36 38 36 40 36 64 38 40 40 42 40 44 40 64 42 44 44 46 44 48 44 64 46 48 48 50 48 52 48 64 50 52 52 54...
result:
wrong answer Not correct
Subtask #11:
score: 0
Wrong Answer
Test #51:
score: 0
Wrong Answer
time: 365ms
memory: 18828kb
input:
1999 12
output:
2066 0 13 1 13 2 13 3 13 4 13 5 13 6 13 7 13 8 13 9 13 10 13 11 13 13 15 13 35 15 17 15 35 17 19 17 35 19 21 19 35 21 23 21 35 23 25 23 35 25 27 25 35 27 29 27 35 29 31 29 35 31 33 31 35 33 35 35 37 35 39 35 71 37 39 39 41 39 43 39 71 41 43 43 45 43 47 43 71 45 47 47 49 47 51 47 71 49 51 51 53 51 55...
result:
wrong answer Not correct
Subtask #12:
score: 0
Wrong Answer
Test #56:
score: 0
Wrong Answer
time: 367ms
memory: 18868kb
input:
1981 13
output:
2002 0 14 1 14 2 14 3 14 4 14 5 14 6 14 7 14 8 14 9 14 10 14 11 14 12 14 14 16 14 38 16 18 16 38 18 20 18 38 20 22 20 38 22 24 22 38 24 26 24 38 26 28 26 38 28 30 28 38 30 32 30 38 32 34 32 38 34 36 34 38 36 38 38 40 38 42 38 78 40 42 42 44 42 46 42 78 44 46 46 48 46 50 46 78 48 50 50 52 50 54 50 78...
result:
wrong answer Not correct
Subtask #13:
score: 0
Wrong Answer
Test #61:
score: 0
Wrong Answer
time: 369ms
memory: 18772kb
input:
1979 14
output:
1978 0 15 1 15 2 15 3 15 4 15 5 15 6 15 7 15 8 15 9 15 10 15 11 15 12 15 13 15 15 17 15 41 17 19 17 41 19 21 19 41 21 23 21 41 23 25 23 41 25 27 25 41 27 29 27 41 29 31 29 41 31 33 31 41 33 35 33 41 35 37 35 41 37 39 37 41 39 41 41 43 41 45 41 85 43 45 45 47 45 49 45 85 47 49 49 51 49 53 49 85 51 53...
result:
wrong answer Not correct
Subtask #14:
score: 0
Wrong Answer
Test #66:
score: 3
Accepted
time: 365ms
memory: 18972kb
input:
2000 15
output:
1988 0 16 1 16 2 16 3 16 4 16 5 16 6 16 7 16 8 16 9 16 10 16 11 16 12 16 13 16 14 16 16 18 16 44 18 20 18 44 20 22 20 44 22 24 22 44 24 26 24 44 26 28 26 44 28 30 28 44 30 32 30 44 32 34 32 44 34 36 34 44 36 38 36 44 38 40 38 44 40 42 40 44 42 44 44 46 44 48 44 92 46 48 48 50 48 52 48 92 50 52 52 54...
result:
ok
Test #67:
score: 3
Accepted
time: 373ms
memory: 18900kb
input:
1999 15
output:
1987 0 15 1 15 2 15 3 15 4 15 5 15 6 15 7 15 8 15 9 15 10 15 11 15 12 15 13 15 15 17 15 43 17 19 17 43 19 21 19 43 21 23 21 43 23 25 23 43 25 27 25 43 27 29 27 43 29 31 29 43 31 33 31 43 33 35 33 43 35 37 35 43 37 39 37 43 39 41 39 43 41 43 43 45 43 47 43 91 45 47 47 49 47 51 47 91 49 51 51 53 51 55...
result:
ok
Test #68:
score: 3
Accepted
time: 369ms
memory: 17828kb
input:
1992 15
output:
1980 0 16 1 16 2 16 3 16 4 16 5 16 6 16 7 16 8 16 9 16 10 16 11 16 12 16 13 16 14 16 16 18 16 44 18 20 18 44 20 22 20 44 22 24 22 44 24 26 24 44 26 28 26 44 28 30 28 44 30 32 30 44 32 34 32 44 34 36 34 44 36 38 36 44 38 40 38 44 40 42 40 44 42 44 44 46 44 48 44 92 46 48 48 50 48 52 48 92 50 52 52 54...
result:
ok
Test #69:
score: 0
Wrong Answer
time: 365ms
memory: 18804kb
input:
1973 15
output:
1961 0 15 1 15 2 15 3 15 4 15 5 15 6 15 7 15 8 15 9 15 10 15 11 15 12 15 13 15 15 17 15 41 17 19 17 41 19 21 19 41 21 23 21 41 23 25 23 41 25 27 25 41 27 29 27 41 29 31 29 41 31 33 31 41 33 35 33 41 35 37 35 41 37 39 37 41 39 41 41 43 41 45 41 89 43 45 45 47 45 49 45 89 47 49 49 51 49 53 49 89 51 53...
result:
wrong answer Not correct