QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#110546#6114. Agriculturecmll02RE 18ms51828kbC++231.9kb2023-06-02 19:39:402023-06-02 19:39:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 50380kb

input:

4
1 2
3 3
2 4
7 9
2
3
9

output:

3

result:

ok 1 number(s): "3"

Test #2:

score: 0
Accepted
time: 14ms
memory: 50380kb

input:

4
1 5
5 10
3 8
5 5
1
5

output:

4

result:

ok 1 number(s): "4"

Test #3:

score: 0
Accepted
time: 9ms
memory: 50268kb

input:

43
12992 34983
33499 90420
53100 94360
46389 53210
74360 89585
21701 85719
83860 92904
5223 16975
32022 91153
12231 18884
67629 73202
66272 82452
50118 76572
80439 90048
6601 33437
56579 85417
45713 57231
91789 92974
27492 54276
23726 52109
47635 87277
5198 91101
65589 99076
27926 31672
48249 80293
...

output:

41

result:

ok 1 number(s): "41"

Test #4:

score: 0
Accepted
time: 8ms
memory: 50236kb

input:

98
16723 66090
52915 80020
14292 49030
81995 91658
80207 86800
56497 77256
13631 69615
16243 60887
42606 82531
5326 51906
67388 84078
9469 89976
13520 59465
86503 94801
1037 43482
55611 93980
4087 12677
13211 39334
66707 80378
62318 96408
66454 70983
27125 28591
3679 16055
5160 38580
12702 28696
826...

output:

97

result:

ok 1 number(s): "97"

Test #5:

score: 0
Accepted
time: 12ms
memory: 50264kb

input:

50
15455 73319
6401 53470
19660 64885
6065 45929
9485 71396
44661 64985
38660 71065
4247 59528
44458 73996
11636 22648
38736 46065
2857 23756
16452 81381
15890 32627
49673 96709
7928 45794
12482 39460
4728 97605
55521 83576
14496 21264
20785 99826
6580 92252
37686 49403
54813 71692
33574 59447
37037...

output:

48

result:

ok 1 number(s): "48"

Test #6:

score: 0
Accepted
time: 8ms
memory: 50340kb

input:

1
37052 51200
64
350
1420
2754
5842
7349
12323
13033
17384
17860
18364
19759
21414
21470
22245
22895
22934
23752
24641
24763
25133
26683
30233
30822
33832
35909
38580
39180
41776
44514
46221
47985
48361
49795
51262
51458
52173
52250
52484
56605
61742
62080
62851
62861
64574
66004
66184
66246
68146
6...

output:

1

result:

ok 1 number(s): "1"

Test #7:

score: 0
Accepted
time: 17ms
memory: 50324kb

input:

7
10141 89365
28442 39991
3391 65539
11021 51210
43537 84432
85517 91438
46057 56850
70
361
534
2755
6068
17235
17282
20497
21335
23741
23977
26817
27613
29171
29963
31212
32035
32181
33622
33733
35731
40522
40683
42829
43794
44586
46367
48112
49882
51069
51137
54652
55165
57006
57183
62242
65326
65...

output:

7

result:

ok 1 number(s): "7"

Test #8:

score: 0
Accepted
time: 12ms
memory: 50216kb

input:

4
37262 98331
10275 32812
56987 59250
57947 83807
18
1264
9657
13688
19560
19857
25272
30244
54832
55489
64154
67601
73835
75980
76654
76921
90560
94785
98474

output:

3

result:

ok 1 number(s): "3"

Test #9:

score: 0
Accepted
time: 18ms
memory: 50320kb

input:

30
91853 98263
33132 78079
37917 82873
23619 48682
12815 55871
2668 73323
42636 90798
5006 32874
68080 99825
34054 36093
8600 12042
5834 79473
15016 33205
13337 57364
13987 72680
40161 71971
75003 97414
17986 87907
20955 81798
40333 81101
55435 97080
58132 61561
3741 31141
64496 72116
37684 50714
57...

output:

20

result:

ok 1 number(s): "20"

Test #10:

score: 0
Accepted
time: 4ms
memory: 50248kb

input:

24
46291 56516
55000 55560
54906 75270
28308 85890
83446 96549
14248 65149
34203 64004
17169 98003
82783 97755
8961 9486
4050 88465
32392 39435
43514 57928
60496 97852
29048 78825
31289 97278
84215 91151
30838 96079
3599 13862
28618 66867
15080 83703
74040 97444
19493 41588
7729 8365
62
778
1229
266...

output:

22

result:

ok 1 number(s): "22"

Test #11:

score: 0
Accepted
time: 4ms
memory: 50376kb

input:

48
8536 97532
21880 60657
40483 53866
47886 86155
14239 63390
13842 56955
35442 58860
27482 32202
33430 90754
18827 72909
13717 67302
18236 40975
81536 86391
54803 68602
50111 65285
3662 28419
18794 94308
76871 77345
30605 64316
20093 53212
6323 20201
8967 44878
37414 41186
62288 93215
48703 67580
4...

output:

45

result:

ok 1 number(s): "45"

Test #12:

score: 0
Accepted
time: 8ms
memory: 50292kb

input:

64
32247 92046
58463 88351
113 66746
52286 82289
32971 45570
32529 57238
71850 78974
440 13292
33760 70079
36927 48270
34483 36075
58405 75480
12405 54403
51760 82724
9259 24248
14572 83303
1093 73396
26677 32574
33832 88098
85646 97888
40698 77107
70476 76547
93739 94988
76614 86148
48002 48785
489...

output:

60

result:

ok 1 number(s): "60"

Test #13:

score: 0
Accepted
time: 12ms
memory: 51828kb

input:

4636
260381159 384900176
398984564 461380856
483175603 968115643
356964260 485606975
437824587 744745331
263968915 864728124
462323078 535885205
42474814 827024266
150898730 419758064
623464531 869102832
339327391 999387795
91869242 765982422
600583424 928958735
107301691 487749975
531572272 5538270...

output:

4635

result:

ok 1 number(s): "4635"

Test #14:

score: -100
Runtime Error

input:

47601
52444471 554510657
303331172 621676285
331956846 891394887
415648810 676861856
211455721 678017129
272856045 924397065
327176781 614759496
702793680 787038046
210186837 313626812
505394542 592783047
496739735 884637761
409400077 933144529
118814952 459697889
68194993 710887304
8148148 95005177...

output:


result: