QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#231914#7608. Cliquesucup-team1727#WA 2ms12428kbC++144.1kb2023-10-29 18:03:212023-10-29 18:03:21

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 2ms
memory: 12428kb

input:

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

output:

25
1 1 505154643
1 2 226804125
1 3 896907223
1 4 597938148
1 5 113402063
2 1 773195882
2 2 20618557
2 3 536082478
2 4 690721654
2 5 10309278
3 1 793814439
3 2 927835058
3 3 123711341
3 4 82474227
3 5 463917529
4 1 134020619
4 2 896907223
4 3 319587631
4 4 546391757
4 5 948453615
5 1 922680418
5 2 97...

result:

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