QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#566966#7775. 【模板】矩阵快速幂gg_gong0 896ms1397832kbC++205.1kb2024-09-16 04:21:272024-09-16 04:21:28

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 19ms
memory: 393840kb

input:

1
1
100 101 899539897889989959
74 35 910832669819965536
35 85 910832669819965536
85 88 910832669819965536
88 30 910832669819965536
30 58 910832669819965536
58 60 910832669819965536
60 34 910832669819965536
34 8 910832669819965536
8 67 910832669819965536
67 89 910832669819965536
89 32 910832669819965...

output:

884238814 884238803 884238805 884238861 884238815 884238811 884238776 884238854 884238867 884238777 884238845 884238795 884238775 884238822 884238804 884238785 884238869 884238783 884238816 884238813 884238808 884238843 884238820 884238787 884238794 884238792 884238779 884238841 884238865 884238850 ...

result:

wrong answer 1st numbers differ - expected: '395495792', found: '884238814'

Subtask #2:

score: 0
Wrong Answer

Test #7:

score: 0
Wrong Answer
time: 896ms
memory: 1397832kb

input:

2
1
300 598 8179377797889487867988994778539839593376697796496698959964978969
1 2 977880533270721156
2 1 977880533270721156
2 3 977880533270721156
3 2 977880533270721156
3 4 977880533270721156
4 3 977880533270721156
4 5 977880533270721156
5 4 977880533270721156
5 6 977880533270721156
6 5 977880533270...

output:

-1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 -1 37050706 ...

result:

wrong answer 2nd numbers differ - expected: '313446627', found: '37050706'

Subtask #3:

score: 0
Skipped

Dependency #2:

0%

Subtask #4:

score: 0
Skipped

Dependency #1:

0%

Subtask #5:

score: 0
Skipped

Dependency #1:

0%

Subtask #6:

score: 0
Skipped

Dependency #3:

0%