QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505415#5808. Year of More Code Jamxiaowuc10 0ms0kbPython3941b2024-08-05 05:13:032024-08-05 05:13:03

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Dangerous Syscalls

Test #1:

score: 0
Dangerous Syscalls

input:

50
1 1
2 2
1 2
2 2
2 2
3 2
3 2 4
2 3
1 2
5 2 3 4 5
2 2
5 2
5 2 3 4 5
7 2 4 5 6 7 8
1000 2
10 2 30 40 50 300 400 500 600 700
7 20 40 50 60 70 80
98 2
49 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
46 55 56 57 ...

output:


result:


Subtask #2:

score: 0
Dangerous Syscalls

Test #2:

score: 0
Dangerous Syscalls

input:

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

output:


result: