QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#571865#7775. 【模板】矩阵快速幂nyctivoe0 1448ms1289576kbC++176.2kb2024-09-18 09:32:462024-09-18 09:32:47

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 34ms
memory: 250480kb

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:

395495892 395495881 395495883 395495939 395495893 395495889 395495854 395495932 395495945 395495855 395495923 395495873 395495853 395495900 395495882 395495863 395495947 395495861 395495894 395495891 395495886 395495921 395495898 395495865 395495872 395495870 395495857 395495919 395495943 395495928 ...

result:

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

Subtask #2:

score: 0
Wrong Answer

Test #7:

score: 0
Wrong Answer
time: 1448ms
memory: 1289576kb

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 769334271 -1 769334271 -1 769334271 -1 769334271 -1 769334271 -1 769334271 -1 769334271 -1 769334271 -1 769334271 -1 769334271 -1 769334271 -1 769334271 -1 769334271 -1 769334271 -1 769334271 -1 769334271 -1 769334271 -1 769334271 -1 769334271 -1 769334271 -1 769334271 -1 769334271 -1 769334271 -...

result:

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

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%