QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#733781#7022. Best ACMer Solves the Hardest Problemucup-team4645#AC ✓2611ms956016kbC++232.3kb2024-11-10 21:01:002024-11-10 21:01:01

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1842ms
memory: 538044kb

input:

1
3 6
2999 3000 1
3001 3000 1
3000 2999 1
1 2999 3000 1
4 2999 2999 1
2 2995 2996
3 2995 2995 1 1
4 2995 2995 1
4 3000 3000 1

output:

Case #1:
4
6
0

result:

ok 4 lines

Test #2:

score: 0
Accepted
time: 2611ms
memory: 956016kb

input:

1000
10 10
3505 4093 1071
2828 5767 1951
4087 1947 2419
1348 1177 6000
271 3657 1998
4584 132 495
4260 4693 129
5112 3484 1918
5754 3661 3066
1629 1302 1691
1 5838 2560 2113
2 4086 1946
2 4583 131
4 4970 4439 4284065
3 2945 677 1239925 5721
4 1523 2487 2014037
2 876 3815
3 5116 5955 680746 5170
3 79...

output:

Case #1:
2113
1951
Case #2:
33271
30497
30497
Case #3:
29279
47107
Case #4:
852
3353
7244
5176
Case #5:
11088
Case #6:
122515
185005
Case #7:
31427
78290
Case #8:
4549
2091
12806
Case #9:
188803
Case #10:
83837
Case #11:
58111
58111
140591
Case #12:
5457
4290
Case #13:
22748
148509
Case #14:
1674
60...

result:

ok 405746 lines