QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#512859#1168. Find the XORZhangYiDeWA 9ms3996kbC++202.5kb2024-08-10 16:06:052024-08-10 16:06:06

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

8 10 7
1 2 662784558
3 2 195868257
3 4 294212653
4 5 299265014
6 5 72652580
6 7 29303370
7 8 183954825
2 1 752722885
5 3 197591314
8 4 877461873
4 8
5 7
6 7
2 3
7 8
3 4
2 7

output:

0
713437792
738051848
716356296
736682272
1003204975
987493236

result:

ok 7 numbers

Test #2:

score: 0
Accepted
time: 0ms
memory: 3712kb

input:

2 1 1
1 2 31
1 2

output:

31

result:

ok 1 number(s): "31"

Test #3:

score: 0
Accepted
time: 0ms
memory: 3996kb

input:

2 3 1
1 2 71
1 1 86
2 2 48
1 2

output:

119

result:

ok 1 number(s): "119"

Test #4:

score: -100
Wrong Answer
time: 9ms
memory: 3864kb

input:

500 700 100000
2 1 147383090
2 3 981594190
3 4 948414594
5 4 739739766
6 5 586581109
6 7 418429007
8 7 852078976
8 9 233093009
9 10 712947390
10 11 130658520
12 11 332650604
12 13 52607525
14 13 260905070
14 15 962878811
16 15 195610313
16 17 303149251
18 17 140878375
19 18 338952072
20 19 105254306...

output:

276955137
276955137
276955137
276955137
532905184
276955137
276955137
276955137
340789781
276955137
276955137
276955137
888035320
276955137
488872381
1064330718
276955137
276955137
897740337
286590498
923328495
276955137
276955137
354542402
276955137
276955137
276955137
276955137
276955137
325082497...

result:

wrong answer 2nd numbers differ - expected: '0', found: '276955137'