QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#259514 | #3269. 末日魔法少女计划 | flower | 22 | 372ms | 19764kb | C++20 | 3.6kb | 2023-11-20 23:57:03 | 2023-11-20 23:57:03 |
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: 367ms
memory: 19408kb
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: 367ms
memory: 19764kb
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: 368ms
memory: 19544kb
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: 372ms
memory: 19712kb
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: 371ms
memory: 19028kb
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: 14
Accepted
time: 362ms
memory: 19164kb
input:
1936 3
output:
7339 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 7 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...
result:
ok
Test #7:
score: 14
Accepted
time: 367ms
memory: 18188kb
input:
2000 3
output:
7606 0 3 0 12 0 50 0 256 1 3 1 12 1 50 1 256 2 12 2 50 2 256 3 5 3 7 3 12 3 50 3 256 4 12 4 50 4 256 5 7 5 12 5 50 5 256 6 12 6 50 6 256 7 9 7 10 7 11 7 12 7 50 7 256 8 12 8 50 8 256 9 12 9 50 9 256 10 12 10 50 10 256 11 50 11 256 12 14 12 15 12 16 12 17 12 22 12 27 12 32 12 37 12 50 12 256 13 17 13...
result:
ok
Test #8:
score: 14
Accepted
time: 366ms
memory: 19280kb
input:
1999 3
output:
7602 0 3 0 12 0 50 0 255 1 3 1 12 1 50 1 255 2 12 2 50 2 255 3 5 3 7 3 12 3 50 3 255 4 12 4 50 4 255 5 7 5 12 5 50 5 255 6 12 6 50 6 255 7 9 7 10 7 11 7 12 7 50 7 255 8 12 8 50 8 255 9 12 9 50 9 255 10 12 10 50 10 255 11 50 11 255 12 14 12 15 12 16 12 17 12 22 12 27 12 32 12 37 12 50 12 255 13 17 13...
result:
ok
Test #9:
score: 0
Wrong Answer
time: 362ms
memory: 19356kb
input:
1992 3
output:
7574 0 4 0 13 0 48 0 252 1 4 1 13 1 48 1 252 2 4 2 13 2 48 2 252 3 13 3 48 3 252 4 6 4 8 4 13 4 48 4 252 5 13 5 48 5 252 6 8 6 13 6 48 6 252 7 13 7 48 7 252 8 10 8 11 8 12 8 13 8 48 8 252 9 13 9 48 9 252 10 13 10 48 10 252 11 13 11 48 11 252 12 48 12 252 13 15 13 16 13 17 13 18 13 23 13 28 13 33 13 ...
result:
wrong answer Not correct
Subtask #3:
score: 0
Wrong Answer
Test #11:
score: 0
Wrong Answer
time: 370ms
memory: 19144kb
input:
2000 4
output:
4792 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: 9
Accepted
time: 365ms
memory: 19096kb
input:
2000 5
output:
3922 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 19 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...
result:
ok
Test #17:
score: 9
Accepted
time: 369ms
memory: 18112kb
input:
1999 5
output:
3920 0 6 0 37 1 6 1 37 2 6 2 37 3 6 3 37 4 6 4 37 5 37 6 8 6 14 6 37 7 37 8 10 8 14 8 37 9 37 10 12 10 14 10 37 11 37 12 14 12 37 13 37 14 16 14 18 14 22 14 37 15 37 16 18 16 37 17 37 18 20 18 22 18 37 19 37 20 22 20 37 21 37 22 24 22 26 22 28 22 30 22 37 23 37 24 26 24 37 25 37 26 28 26 37 27 37 28...
result:
ok
Test #18:
score: 0
Wrong Answer
time: 363ms
memory: 19108kb
input:
1992 5
output:
3906 0 6 0 37 1 6 1 37 2 6 2 37 3 6 3 37 4 6 4 37 5 37 6 8 6 14 6 37 7 37 8 10 8 14 8 37 9 37 10 12 10 14 10 37 11 37 12 14 12 37 13 37 14 16 14 18 14 22 14 37 15 37 16 18 16 37 17 37 18 20 18 22 18 37 19 37 20 22 20 37 21 37 22 24 22 26 22 28 22 30 22 37 23 37 24 26 24 37 25 37 26 28 26 37 27 37 28...
result:
wrong answer Not correct
Subtask #5:
score: 0
Wrong Answer
Test #21:
score: 0
Wrong Answer
time: 366ms
memory: 19068kb
input:
2000 6
output:
3213 0 7 0 8 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: 366ms
memory: 19136kb
input:
1999 7
output:
2901 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 48 32 78 34 36 34 78 36 38 36 40 36 78 38 40 ...
result:
wrong answer Not correct
Subtask #7:
score: 0
Wrong Answer
Test #31:
score: 0
Wrong Answer
time: 371ms
memory: 19128kb
input:
1995 8
output:
2501 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: 366ms
memory: 18136kb
input:
1997 9
output:
2392 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: 364ms
memory: 19012kb
input:
1995 10
output:
2193 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: 369ms
memory: 19008kb
input:
1993 11
output:
2133 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: 366ms
memory: 19256kb
input:
1999 12
output:
2067 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: 362ms
memory: 19224kb
input:
1981 13
output:
2004 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: 370ms
memory: 19012kb
input:
1979 14
output:
1981 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: 0
Wrong Answer
time: 366ms
memory: 19088kb
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:
wrong answer Not correct