QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#567084#7775. 【模板】矩阵快速幂gg_gong0 1445ms1403616kbC++206.2kb2024-09-16 06:29:532024-09-16 06:29:53

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 36ms
memory: 393108kb

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:

714681917 714681917 714681917 714681917 714681918 714681917 714681917 714681917 714681917 714681917 714681917 714681917 714681917 714681917 714681917 714681917 714681917 714681917 714681917 714681917 714681917 714681917 714681917 714681917 714681917 714681917 714681917 714681917 714681917 714681917 ...

result:

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

Subtask #2:

score: 0
Wrong Answer

Test #7:

score: 0
Wrong Answer
time: 1445ms
memory: 1403616kb

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:

447919854 447914773 447909692 447904611 447899530 447894449 447889368 447884287 447879206 447874125 447869044 447863963 447858882 447853801 447848720 447843639 447838558 447833477 447828396 447823315 447818234 447813153 447808072 447802991 447797910 447792829 447787748 447782667 447777586 447772505 ...

result:

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

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%