QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505538#5987. Counting Sheepxiaowuc115 ✓1ms3608kbC++171.2kb2024-08-05 05:59:292024-08-05 05:59:29

详细

Subtask #1:

score: 7
Accepted

Test #1:

score: 7
Accepted
time: 1ms
memory: 3592kb

input:

100
0
1
2
11
48
118
10
181
42
143
60
79
17
194
170
38
27
82
121
5
99
62
176
94
144
173
12
31
200
112
93
8
30
159
150
116
177
72
120
101
184
96
3
133
158
193
103
44
32
127
117
191
77
130
125
147
73
49
197
108
165
128
146
156
40
179
92
67
186
21
83
7
20
115
25
9
98
166
6
85
113
124
106
39
183
80
140
1...

output:

Case #1: INSOMNIA
Case #2: 10
Case #3: 90
Case #4: 110
Case #5: 576
Case #6: 590
Case #7: 90
Case #8: 905
Case #9: 378
Case #10: 1001
Case #11: 900
Case #12: 790
Case #13: 119
Case #14: 970
Case #15: 1190
Case #16: 190
Case #17: 189
Case #18: 574
Case #19: 968
Case #20: 90
Case #21: 990
Case #22: 55...

result:

ok 100 lines

Subtask #2:

score: 8
Accepted

Test #2:

score: 8
Accepted
time: 1ms
memory: 3608kb

input:

100
0
1
2
11
1692
890451
493489
902337
999994
963307
761500
999997
901146
956093
999992
455954
309419
5666
968516
178478
252548
433524
1000000
932955
913770
513586
731958
4
289869
160440
532907
363010
192658
145688
454935
947070
124
705513
847368
999999
25
648545
717304
347017
80174
188612
714744
34...

output:

Case #1: INSOMNIA
Case #2: 10
Case #3: 90
Case #4: 110
Case #5: 5076
Case #6: 2671353
Case #7: 2467445
Case #8: 4511685
Case #9: 5999964
Case #10: 3853228
Case #11: 4569000
Case #12: 9999970
Case #13: 3604584
Case #14: 3824372
Case #15: 5999952
Case #16: 1367862
Case #17: 928257
Case #18: 67992
Case...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed