QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#624520#8522. Waterfall Matrixucup-team4744WA 1ms3860kbC++143.2kb2024-10-09 16:01:202024-10-09 16:01:20

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3860kb

input:

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

output:

3

result:

ok 1 number(s): "3"

Test #2:

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

input:

1
1 1 58383964

output:

0

result:

ok 1 number(s): "0"

Test #3:

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

input:

2
1 1 204909414
2 2 807091086

output:

602181672

result:

ok 1 number(s): "602181672"

Test #4:

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

input:

4
2 4 107744934
3 2 143843719
4 4 908851567
2 2 307161330

output:

801106633

result:

ok 1 number(s): "801106633"

Test #5:

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

input:

7
1 2 140766572
5 3 795389698
3 6 279722536
2 6 442413348
4 2 475716910
5 4 704493410
5 2 423494885

output:

935621651

result:

ok 1 number(s): "935621651"

Test #6:

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

input:

11
1 5 104443431
4 9 692130290
4 1 18812720
7 3 381505729
7 7 706418558
11 9 242808397
10 4 490383412
3 2 72839501
10 7 883914647
10 6 738589165
11 10 556539693

output:

2757182575

result:

ok 1 number(s): "2757182575"

Test #7:

score: -100
Wrong Answer
time: 0ms
memory: 3576kb

input:

17
14 13 957289906
14 1 220840920
10 3 230060608
9 12 405076666
13 5 112827045
12 12 925699151
11 9 243364659
3 15 66125969
1 5 481618704
17 11 67207393
9 4 141885319
2 2 641760683
4 6 30421350
5 9 145177348
7 13 468875688
11 7 557989385
13 17 468110036

output:

2948529318

result:

wrong answer 1st numbers differ - expected: '3056543193', found: '2948529318'