QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#223375#7608. Cliquesucup-team131#WA 320ms12164kbC++2313.2kb2023-10-22 01:08:472023-10-22 01:08:47

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 320ms
memory: 12164kb

input:

5
1 2
5 1
2 3
4 2
6
+ 4 5
+ 2 2
+ 1 3
- 2 2
+ 2 3
+ 4 4

output:

29 1 247568462
75 34 415963168
101 60 519475815
52 26 527787323
33 89 522987987
36 79 991423617
41 92 615014271
65 80 810544428
33 13 522748467
92 6 136873817
46 16 370389430
68 101 854740561

12
29 1 0
33 13 0
33 89 0
36 79 0
41 92 0
46 16 0
52 26 0
65 80 0
68 101 0
75 34 0
92 6 0
101 60 0

result:

wrong answer 1st lines differ - expected: '1', found: '29 1 247568462'