F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_26075330_14248.cpp: In function 'int main()':
0_0_26075330_14248.cpp:43:11: error: too many arguments to function 'll read()'
     read(T);
           ^
0_0_26075330_14248.cpp:6:11: note: declared here
 inline ll read() {
           ^
0_0_26075330_14248.cpp:45:15: error: too many arguments to function 'll read()'
         read(A);
               ^
0_0_26075330_14248.cpp:6:11: note: declared here
 inline ll read() {
           ^
0_0_26075330_14248.cpp:46:15: error: too many arguments to function 'll read()'
         read(B);
               ^
0_0_26075330_14248.cpp:6:11: note: declared here
 inline ll read() {
           ^
0_0_26075330_14248.cpp:47:15: error: too many arguments to function 'll read()'
         read(n);
               ^
0_0_26075330_14248.cpp:6:11: note: declared here
 inline ll read() {
           ^
0_0_26075330_14248.cpp:48:15: error: too many arguments to function 'll read()'
         read(p);
               ^
0_0_26075330_14248.cpp:6:11: note: declared here
 inline ll read() {
           ^
0_0_26075330_14248.cpp:55:9: error: 'Matrix' was not declared in this scope
         Matrix t1 = Matrix(), t2 = Matrix();
         ^
0_0_26075330_14248.cpp:56:9: error: 't1' was not declared in this scope
         t1.a[0][0] = A, t1.a[0][1] = B, t1.a[1][0] = 1, t1.a[1][1] = A;
         ^
0_0_26075330_14248.cpp:57:9: error: 't2' was not declared in this scope
         t2.a[0][0] = A, t2.a[0][1] = -B, t2.a[1][0] = -1, t2.a[1][1] = A;
         ^
0_0_26075330_14248.cpp:58:16: error: expected ';' before 'ans1'
         Matrix ans1 = pow_mod(t1, n, p), ans2 = pow_mod(t2, n, p);
                ^
0_0_26075330_14248.cpp:59:17: error: 'ans1' was not declared in this scope
         ll f1 = ans1.a[0][0] - ans2.a[0][0];
                 ^
0_0_26075330_14248.cpp:59:32: error: 'ans2' was not declared in this scope
         ll f1 = ans1.a[0][0] - ans2.a[0][0];
                                ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-23 03:51:44, Gzip enabled