QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#759243#7950. Lucky DrawsMaMengQiWA 702ms791328kbC++202.8kb2024-11-17 23:24:442024-11-17 23:24:44

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3600kb

input:

5 2
1 2
1 4
3 6
4 7
5 6

output:

5

result:

ok single line: '5'

Test #2:

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

input:

3 2
2 4
1 3
3 5

output:

3

result:

ok single line: '3'

Test #3:

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

input:

4 1
2 3
1 1
4 5
4 5

output:

2

result:

ok single line: '2'

Test #4:

score: 0
Accepted
time: 0ms
memory: 3840kb

input:

7 2
5 6
7 9
7 7
1 4
2 3
4 7
4 7

output:

6

result:

ok single line: '6'

Test #5:

score: 0
Accepted
time: 702ms
memory: 791328kb

input:

10000 50
-16187 -16186
743439 743441
-995450 -995449
921242 921242
-287646 -287644
110263 110264
650110 650110
897150 897151
262837 262839
935191 935193
6079 6080
815160 815162
-624776 -624774
-782088 -782086
486051 486052
-704289 -704287
-592330 -592329
-943804 -943803
43046 43047
-896912 -896910
-...

output:

100

result:

ok single line: '100'

Test #6:

score: 0
Accepted
time: 693ms
memory: 791316kb

input:

10000 50
39778 39796
7765 7768
95957 95972
-92200 -92178
-67044 -67014
856 871
-95402 -95380
-29447 -29418
77170 77191
-50433 -50421
-18466 -18446
47582 47583
89872 89873
19175 19205
-46181 -46175
30461 30465
-83893 -83891
-87464 -87450
-92490 -92469
-95035 -95008
-60182 -60165
-9191 -9191
-61912 -6...

output:

265

result:

ok single line: '265'

Test #7:

score: 0
Accepted
time: 11ms
memory: 83584kb

input:

1000 200
1255 1300
4000 4019
4062 4090
4733 4781
1597 1684
6391 6394
4958 5012
3552 3552
3136 3182
2597 2664
7296 7344
5596 5685
8676 8745
1897 1995
6009 6029
2548 2553
410 460
4985 5046
2520 2581
8270 8342
1376 1447
1317 1367
6561 6623
5059 5114
8435 8444
4773 4823
6756 6825
3674 3769
8881 8893
278...

output:

948

result:

ok single line: '948'

Test #8:

score: 0
Accepted
time: 19ms
memory: 87404kb

input:

1000 500
-27340 -27339
41144 41145
-31978 -31977
13653 13657
37912 37913
-82824 -82824
-91670 -91670
-85311 -85309
-49781 -49778
-30498 -30495
-33143 -33143
3794 3798
62829 62833
22827 22830
99614 99618
-54630 -54628
-5781 -5780
40734 40734
-13748 -13747
41681 41681
-49625 -49622
-42947 -42947
6610 ...

output:

516

result:

ok single line: '516'

Test #9:

score: -100
Wrong Answer
time: 11ms
memory: 85300kb

input:

1000 500
-3496 -3464
2153 2307
-5775 -5724
-7511 -7499
-4073 -3773
2240 2394
-2877 -2580
2835 3331
5980 6318
751 1043
5623 5963
866 1134
-1848 -1572
8095 8452
-7239 -7039
2369 2413
-5821 -5675
4954 5039
-6311 -6018
-6863 -6857
-3559 -3401
-7508 -7438
7374 7538
-4953 -4713
-144 1
-9359 -8940
-8579 -8...

output:

1006

result:

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