QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#798638 | #9852. Divisions | ucup-team4645# | AC ✓ | 1ms | 5788kb | C++23 | 1.5kb | 2024-12-04 15:35:28 | 2024-12-04 15:35:29 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3608kb
input:
1
output:
6 1 1 4 5 1 4
result:
ok correct
Test #2:
score: 0
Accepted
time: 1ms
memory: 5656kb
input:
2
output:
1 7
result:
ok correct
Test #3:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
0
output:
10 1 3 2 1 3 2 1 3 2 1
result:
ok correct
Test #4:
score: 0
Accepted
time: 0ms
memory: 5716kb
input:
3
output:
2 7 1
result:
ok correct
Test #5:
score: 0
Accepted
time: 1ms
memory: 5656kb
input:
4
output:
2 7 7
result:
ok correct
Test #6:
score: 0
Accepted
time: 1ms
memory: 5788kb
input:
5
output:
3 7 7 1
result:
ok correct
Test #7:
score: 0
Accepted
time: 1ms
memory: 5716kb
input:
6
output:
4 7 7 1 7
result:
ok correct
Test #8:
score: 0
Accepted
time: 1ms
memory: 5740kb
input:
7
output:
5 7 7 1 7 1
result:
ok correct
Test #9:
score: 0
Accepted
time: 1ms
memory: 5720kb
input:
8
output:
3 7 7 7
result:
ok correct
Test #10:
score: 0
Accepted
time: 1ms
memory: 5784kb
input:
9
output:
4 7 7 7 1
result:
ok correct
Test #11:
score: 0
Accepted
time: 1ms
memory: 5788kb
input:
10
output:
5 7 7 7 1 7
result:
ok correct
Test #12:
score: 0
Accepted
time: 1ms
memory: 5720kb
input:
11
output:
6 7 7 7 1 7 1
result:
ok correct
Test #13:
score: 0
Accepted
time: 1ms
memory: 5712kb
input:
12
output:
6 7 7 7 1 7 7
result:
ok correct
Test #14:
score: 0
Accepted
time: 1ms
memory: 5660kb
input:
13
output:
7 7 7 7 1 7 7 1
result:
ok correct
Test #15:
score: 0
Accepted
time: 1ms
memory: 5776kb
input:
14
output:
8 7 7 7 1 7 7 1 7
result:
ok correct
Test #16:
score: 0
Accepted
time: 0ms
memory: 5688kb
input:
15
output:
9 7 7 7 1 7 7 1 7 1
result:
ok correct
Test #17:
score: 0
Accepted
time: 0ms
memory: 5656kb
input:
16
output:
4 7 7 7 7
result:
ok correct
Test #18:
score: 0
Accepted
time: 1ms
memory: 5712kb
input:
24
output:
8 7 7 7 7 1 7 7 7
result:
ok correct
Test #19:
score: 0
Accepted
time: 1ms
memory: 5656kb
input:
31
output:
14 7 7 7 7 1 7 7 7 1 7 7 1 7 1
result:
ok correct
Test #20:
score: 0
Accepted
time: 1ms
memory: 5660kb
input:
32
output:
5 7 7 7 7 7
result:
ok correct
Test #21:
score: 0
Accepted
time: 1ms
memory: 5660kb
input:
63
output:
20 7 7 7 7 7 1 7 7 7 7 1 7 7 7 1 7 7 1 7 1
result:
ok correct
Test #22:
score: 0
Accepted
time: 1ms
memory: 5788kb
input:
64
output:
6 7 7 7 7 7 7
result:
ok correct
Test #23:
score: 0
Accepted
time: 1ms
memory: 5664kb
input:
127
output:
27 7 7 7 7 7 7 1 7 7 7 7 7 1 7 7 7 7 1 7 7 7 1 7 7 1 7 1
result:
ok correct
Test #24:
score: 0
Accepted
time: 1ms
memory: 5640kb
input:
128
output:
7 7 7 7 7 7 7 7
result:
ok correct
Test #25:
score: 0
Accepted
time: 1ms
memory: 5660kb
input:
255
output:
35 7 7 7 7 7 7 7 1 7 7 7 7 7 7 1 7 7 7 7 7 1 7 7 7 7 1 7 7 7 1 7 7 1 7 1
result:
ok correct
Test #26:
score: 0
Accepted
time: 0ms
memory: 5776kb
input:
256
output:
8 7 7 7 7 7 7 7 7
result:
ok correct
Test #27:
score: 0
Accepted
time: 1ms
memory: 5780kb
input:
511
output:
44 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 1 7 7 7 7 7 7 1 7 7 7 7 7 1 7 7 7 7 1 7 7 7 1 7 7 1 7 1
result:
ok correct
Test #28:
score: 0
Accepted
time: 0ms
memory: 5652kb
input:
512
output:
9 7 7 7 7 7 7 7 7 7
result:
ok correct
Test #29:
score: 0
Accepted
time: 1ms
memory: 5780kb
input:
1023
output:
54 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 1 7 7 7 7 7 7 1 7 7 7 7 7 1 7 7 7 7 1 7 7 7 1 7 7 1 7 1
result:
ok correct
Test #30:
score: 0
Accepted
time: 1ms
memory: 5720kb
input:
1024
output:
10 7 7 7 7 7 7 7 7 7 7
result:
ok correct
Test #31:
score: 0
Accepted
time: 1ms
memory: 5660kb
input:
16383
output:
104 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 1 7 7 7 7 7 7 1 7 7 7 7 7 1 7 7 7 7 1 7 7 7 1 7 7 1 7 1
result:
ok correct
Test #32:
score: 0
Accepted
time: 1ms
memory: 5724kb
input:
16384
output:
14 7 7 7 7 7 7 7 7 7 7 7 7 7 7
result:
ok correct
Test #33:
score: 0
Accepted
time: 1ms
memory: 5716kb
input:
65535
output:
135 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 1 7 7 7 7 7 7 1 7 7 7 7 7 1 7 7 7 7 1 7 7 7 1 7 7 1 7 1
result:
ok correct
Test #34:
score: 0
Accepted
time: 1ms
memory: 5664kb
input:
65536
output:
16 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7
result:
ok correct
Test #35:
score: 0
Accepted
time: 1ms
memory: 5720kb
input:
1048575
output:
209 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 ...
result:
ok correct
Test #36:
score: 0
Accepted
time: 1ms
memory: 5776kb
input:
1048576
output:
20 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7
result:
ok correct
Test #37:
score: 0
Accepted
time: 1ms
memory: 5660kb
input:
8388607
output:
275 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 ...
result:
ok correct
Test #38:
score: 0
Accepted
time: 1ms
memory: 5720kb
input:
8388608
output:
23 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7
result:
ok correct
Test #39:
score: 0
Accepted
time: 1ms
memory: 5708kb
input:
16777200
output:
289 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 ...
result:
ok correct
Test #40:
score: 0
Accepted
time: 1ms
memory: 5716kb
input:
16777207
output:
295 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 ...
result:
ok correct
Test #41:
score: 0
Accepted
time: 1ms
memory: 5748kb
input:
16777211
output:
296 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 ...
result:
ok correct
Test #42:
score: 0
Accepted
time: 1ms
memory: 5724kb
input:
16777213
output:
297 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 ...
result:
ok correct
Test #43:
score: 0
Accepted
time: 1ms
memory: 5732kb
input:
16777215
output:
299 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 ...
result:
ok correct
Test #44:
score: 0
Accepted
time: 1ms
memory: 5776kb
input:
67108838
output:
340 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 ...
result:
ok correct
Test #45:
score: 0
Accepted
time: 1ms
memory: 5720kb
input:
67108837
output:
339 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 ...
result:
ok correct
Test #46:
score: 0
Accepted
time: 0ms
memory: 5732kb
input:
67108863
output:
350 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 ...
result:
ok correct
Test #47:
score: 0
Accepted
time: 1ms
memory: 5656kb
input:
67108864
output:
26 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7
result:
ok correct
Test #48:
score: 0
Accepted
time: 1ms
memory: 5660kb
input:
100000000
output:
231 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 ...
result:
ok correct
Extra Test:
score: 0
Extra Test Passed