QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#472640#3101. Event Hopping 2egypt_ioi2024_11#0 180ms23884kbC++231.6kb2024-07-11 17:51:542024-07-11 17:51:54

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Time Limit Exceeded

Test #1:

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

input:

1 1
1 3

output:

1

result:

ok single line: '1'

Test #2:

score: 0
Accepted
time: 1ms
memory: 4640kb

input:

2 1
2 4
3 7

output:

1

result:

ok single line: '1'

Test #3:

score: 0
Accepted
time: 1ms
memory: 4412kb

input:

3 1
2 5
3 5
4 7

output:

1

result:

ok single line: '1'

Test #4:

score: -7
Time Limit Exceeded

input:

99999 93097
40044 40749
44538 45365
46530 47401
52845 53481
59519 60065
86226 87059
88353 88992
95665 96502
95669 96575
100446 100968
121870 122544
130836 131540
146294 147230
151177 151970
160381 161376
164174 165119
166582 167438
169062 169687
173200 173849
177329 178217
189213 189811
249372 25029...

output:


result:


Subtask #2:

score: 0
Wrong Answer

Test #47:

score: 1
Accepted
time: 1ms
memory: 5724kb

input:

1 1
134842099 137944073

output:

1

result:

ok single line: '1'

Test #48:

score: -1
Wrong Answer
time: 1ms
memory: 4416kb

input:

2 2
4015595 884953730
519508315 726912949

output:

1

result:

wrong answer 1st lines differ - expected: '-1', found: '1'

Subtask #3:

score: 0
Wrong Answer

Test #74:

score: 0
Wrong Answer
time: 0ms
memory: 4932kb

input:

3000 57
226083340 261990234
392684356 462929590
468018811 841719892
495096853 606046097
196983814 256423598
331199122 967656486
802593662 931108452
74501453 679054962
294344294 752837262
295708332 547261648
265421699 652708933
272959087 727136240
165667761 846917534
61770748 157663302
608516043 8492...

output:

1
50
54
56
85
100
104
139
146
151
160
224
228
237
257
265
297
308
347
401
600
665
683
686
766
811
990
1508
1670
1676
1774
2153
2593
2608
2695

result:

wrong answer 1st lines differ - expected: '50', found: '1'

Subtask #4:

score: 0
Wrong Answer

Test #111:

score: 0
Wrong Answer
time: 180ms
memory: 23884kb

input:

100000 361
136798318 785362988
255943758 535488232
175203444 266819907
766993466 893575347
67274251 589651108
662289594 883406317
830803801 849703610
729398668 798198453
202605534 677648797
66407931 925909114
174421361 601553812
522629146 701284080
136544340 295925673
299796891 499869765
736583725 8...

output:

42
78
102
152
155
185
215
239
289
599
660
797
811
950
957
1006
1156
1240
1247
1623
1705
1820
1939
1980
2088
2356
2383
2396
2473
2487
2701
3016
3048
3096
3107
3194
3235
3257
3462
3831
3924
4119
4354
4404
4462
4677
4743
4879
4968
5204
5206
5229
5255
5382
5681
5684
5703
5843
5889
5901
5924
6013
6049
60...

result:

wrong answer 2nd lines differ - expected: '102', found: '78'