QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#693351#1427. FlipqiuzxWA 407ms475988kbC++202.5kb2024-10-31 16:00:232024-10-31 16:00:26

详细

Test #1:

score: 100
Accepted
time: 351ms
memory: 475756kb

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: 377ms
memory: 475700kb

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: 348ms
memory: 475776kb

input:

2 1
2 1 2

output:

499122177

result:

ok 1 number(s): "499122177"

Test #4:

score: 0
Accepted
time: 407ms
memory: 475700kb

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
499122177
686292993
873463809
623902721
935854081
935854081
623902721
374341633
686292993
686292993
686292993
935854081
935854081
748683265
935854081
935854081
686292993
873463809
873463809
935854081
935854081
748683265
686292993
...

result:

ok 35 numbers

Test #5:

score: -100
Wrong Answer
time: 368ms
memory: 475988kb

input:

4 154
3 3 4 6
3 5 6 8
3 2 3 5
3 1 5 7
4 1 2 3 7
3 1 2 8
3 2 4 7
3 1 2 3
2 1 3
3 1 3 8
3 2 5 7
4 1 2 4 6
3 1 3 7
4 1 3 7 8
2 2 7
2 1 8
3 4 7 8
4 1 2 6 7
3 1 3 6
4 1 4 5 8
3 2 4 8
4 2 4 6 8
4 3 4 5 8
2 4 8
4 3 4 5 6
3 2 3 4
4 1 3 5 7
2 1 4
4 1 3 4 7
4 2 3 6 7
3 3 5 6
2 4 7
4 3 4 6 7
2 3 6
4 1 2 7 8
3 ...

output:

854589441
697827329
792199169
848035841
973209601
848035841
848035841
729808897
404750337
848035841
848035841
967049217
848035841
948174849
447479809
447479809
697827329
973209601
854589441
973209601
848035841
973209601
973209601
447479809
967049217
729808897
973209601
404750337
973209601
973209601
...

result:

wrong answer 1st numbers differ - expected: '873463809', found: '854589441'