QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#476631#1427. FlipHuangHanShengWA 55ms7612kbC++112.0kb2024-07-13 20:32:462024-07-13 20:32:46

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 50ms
memory: 7612kb

input:

2 6
2 1 2
2 1 3
2 1 4
2 2 3
2 2 4
2 3 4

output:

499122177
748683265
748683265
748683265
748683265
499122177

result:

ok 6 numbers

Test #2:

score: 0
Accepted
time: 55ms
memory: 6104kb

input:

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

output:

935854081
623902721
374341633
935854081
686292993

result:

ok 5 number(s): "935854081 623902721 374341633 935854081 686292993"

Test #3:

score: 0
Accepted
time: 50ms
memory: 6632kb

input:

2 1
2 1 2

output:

499122177

result:

ok 1 number(s): "499122177"

Test #4:

score: -100
Wrong Answer
time: 48ms
memory: 7264kb

input:

3 35
2 1 4
2 4 5
3 1 2 4
3 2 3 6
3 3 5 6
3 2 3 4
2 4 6
2 1 2
2 2 6
3 2 5 6
2 2 4
3 3 4 5
3 1 4 5
2 3 4
2 5 6
2 1 6
2 2 5
2 3 6
3 1 2 5
3 1 3 6
3 4 5 6
3 1 3 5
3 2 4 6
2 3 5
3 1 5 6
3 1 3 4
3 3 4 6
3 1 4 6
3 1 2 3
2 1 5
2 1 3
3 2 3 5
3 2 4 5
3 1 2 6
2 2 3

output:

623902721
561512449
873463809
935854081
873463809
873463809
561512449
748683265
686292993
873463809
623902721
935854081
935854081
623902721
374341633
686292993
686292993
686292993
935854081
935854081
748683265
935854081
935854081
686292993
873463809
873463809
935854081
935854081
748683265
686292993
...

result:

wrong answer 8th numbers differ - expected: '499122177', found: '748683265'