QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#225234#7517. Flying Ship Storyucup-team2321WA 349ms3632kbC++201.6kb2023-10-24 10:49:032023-10-24 10:49:03

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3624kb

input:

5
1 2 3 1
1 4 5 2
2 2 2
2 3 7
2 3 4

output:

2
1
0

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 349ms
memory: 3632kb

input:

1000000
2 370943499 431961772
1 1 1 11995570
2 37566858 838793045
1 11995571 11995569 908148975
2 11995571 11995571
1 1 3 716821068
2 67877937 3
1 11995571 11995571 771898489
2 38381714 99749723
1 915818844 915818847 729541681
2 592361351 915818846
1 783627722 783627722 639375021
2 102203700 8636489...

output:

0
11995570
0
11995570
716821068
716821068
716821068
212190433
212190433
212190433
212190433
29507197
29507197
29507197
29507197
29507197
29507197
29507197
29507197
29507197
29507197
29507197
29507197
29507197
29507197
29507197
29507197
29507197
29507197
29507197
29507197
29507197
29507197
29507197
2...

result:

wrong answer 5th lines differ - expected: '915818845', found: '716821068'