QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#517777#1669. Hard OptimizationZhangYiDeTL 1ms3936kbC++209.0kb2024-08-13 13:48:502024-08-13 13:48:51

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3804kb

input:

4
1 10
2 3
5 9
6 7

output:

7
3 6
2 3
7 9
6 7

result:

ok ok, n = 4, ans = 7

Test #2:

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

input:

1
23 81

output:

58
23 81

result:

ok ok, n = 1, ans = 58

Test #3:

score: -100
Time Limit Exceeded

input:

2
8 30
56 93

output:


result: