QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#407224#5536. Routerhyforces#47 0ms0kb/5710.6kb2024-05-08 11:02:332024-05-08 11:02:34

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 4
Accepted

input:

118 1000000 1000000

output:

237 236
1 237
2 237
3 237
4 237
5 237
6 237
7 237
8 237
9 237
10 237
11 237
12 237
13 237
14 237
15 237
16 237
17 237
18 237
19 237
20 237
21 237
22 237
23 237
24 237
25 237
26 237
27 237
28 237
29 237
30 237
31 237
32 237
33 237
34 237
35 237
36 237
37 237
38 237
39 237
40 237
41 237
42 237
43 237
...

result:

ok OK!

Test #2:

score: 5
Accepted

input:

223 1000000 1000000

output:

447 446
1 447
2 447
3 447
4 447
5 447
6 447
7 447
8 447
9 447
10 447
11 447
12 447
13 447
14 447
15 447
16 447
17 447
18 447
19 447
20 447
21 447
22 447
23 447
24 447
25 447
26 447
27 447
28 447
29 447
30 447
31 447
32 447
33 447
34 447
35 447
36 447
37 447
38 447
39 447
40 447
41 447
42 447
43 447
...

result:

ok OK!

Test #3:

score: 6
Accepted

input:

1250 500000 500000

output:

2509 7500
1 2501
2 2501
3 2501
4 2501
5 2501
6 2501
7 2501
8 2501
9 2501
10 2501
11 2501
12 2501
13 2501
14 2501
15 2501
16 2501
17 2501
18 2501
19 2501
20 2501
21 2501
22 2501
23 2501
24 2501
25 2501
26 2501
27 2501
28 2501
29 2501
30 2501
31 2501
32 2501
33 2501
34 2501
35 2501
36 2501
37 2501
38 ...

result:

ok OK!

Test #4:

score: 6
Accepted

input:

5101 500000 500000

output:

10323 112222
1 10203
2 10203
3 10203
4 10203
5 10203
6 10203
7 10203
8 10203
9 10203
10 10203
11 10203
12 10203
13 10203
14 10203
15 10203
16 10203
17 10203
18 10203
19 10203
20 10203
21 10203
22 10203
23 10203
24 10203
25 10203
26 10203
27 10203
28 10203
29 10203
30 10203
31 10203
32 10203
33 10203...

result:

ok OK!

Test #5:

score: 26
Accepted

input:

9934 500000 500000

output:

20268 397360
1 19869
2 19869
3 19869
4 19869
5 19869
6 19869
7 19869
8 19869
9 19869
10 19869
11 19869
12 19869
13 19869
14 19869
15 19869
16 19869
17 19869
18 19869
19 19869
20 19869
21 19869
22 19869
23 19869
24 19869
25 19869
26 19869
27 19869
28 19869
29 19869
30 19869
31 19869
32 19869
33 19869...

result:

ok OK!

Test #6:

score: 0
Wrong Answer

input:

9955 500000 100000

output:


result:

wrong output format Unexpected end of file - int32 expected

Test #7:

score: 0
Wrong Answer

input:

9978 100000 100000

output:


result:

wrong output format Unexpected end of file - int32 expected