QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#605984#9250. Max GCDucup-team5045WA 2830ms990712kbC++142.2kb2024-10-02 21:09:502024-10-02 21:09:51

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 689ms
memory: 938952kb

input:

8 8
8 24 4 6 6 7 3 3
1 5
2 6
3 7
5 8
4 8
1 3
2 5
3 8

output:

4
2
3
1
3
4
2
3

result:

ok 8 tokens

Test #2:

score: -100
Wrong Answer
time: 2830ms
memory: 990712kb

input:

150000 100000
982800 554400 665280 982800 997920 720720 786240 831600 997920 982800 786240 982800 942480 831600 887040 665280 831600 960960 786240 982800 786240 942480 665280 831600 942480 665280 982800 960960 960960 997920 720720 960960 960960 665280 982800 665280 982800 942480 786240 997920 554400...

output:

1
997920
997920
997920
997920
997920
997920
1
1
1
1
1
1
997920
1
1
1
1
1
1
997920
1
1
997920
1
1
1
997920
1
997920
1
997920
1
1
997920
1
1
1
997920
1
997920
1
1
997920
997920
1
1
1
1
997920
1
1
997920
1
1
1
1
997920
1
1
1
1
1
997920
997920
1
1
1
1
997920
1
1
1
1
1
997920
997920
997920
1
1
997920
1
9...

result:

wrong answer 1st words differ - expected: '997920', found: '1'