QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#79645#5508. Job for a HobbitQAQQWQ#TL 0ms0kbC++14947b2023-02-20 18:22:312023-02-20 18:22:34

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Time Limit Exceeded

input:

2
2 2
1 2
2 1
1 4
1 2 3 4

output:


result: