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_14671151_17218.cpp:1:1: error: 'onst' does not name a type
 onst int MOD = 2015;
 ^
0_0_14671151_17218.cpp: In function 'node mult(node, node)':
0_0_14671151_17218.cpp:13:34: error: 'memset' was not declared in this scope
     memset(c.mat, 0, sizeof c.mat);
                                  ^
0_0_14671151_17218.cpp:17:62: error: 'MOD' was not declared in this scope
                 c.mat[i][j] += (a.mat[i][k] * b.mat[k][j]) % MOD;
                                                              ^
0_0_14671151_17218.cpp: In function 'node plu(node, node)':
0_0_14671151_17218.cpp:26:34: error: 'memset' was not declared in this scope
     memset(c.mat, 0, sizeof c.mat);
                                  ^
0_0_14671151_17218.cpp:29:55: error: 'MOD' was not declared in this scope
             c.mat[i][j] = a.mat[i][j] + b.mat[i][j] % MOD;
                                                       ^
0_0_14671151_17218.cpp: In function 'int main()':
0_0_14671151_17218.cpp:50:19: error: 'scanf' was not declared in this scope
     scanf("%d", &_);
                   ^
0_0_14671151_17218.cpp:55:40: error: 'memset' was not declared in this scope
         memset(st.mat, 0, sizeof st.mat);
                                        ^
0_0_14671151_17218.cpp:69:9: error: 'll' was not declared in this scope
         ll an = 0;
         ^
0_0_14671151_17218.cpp:72:44: error: 'printf' was not declared in this scope
                 printf("%d ", ans.mat[i][j]);
                                            ^
0_0_14671151_17218.cpp:74:24: error: 'printf' was not declared in this scope
             printf("\n");
                        ^
0_0_14671151_17218.cpp:78:17: error: 'an' was not declared in this scope
                 an = (an + ans.mat[i][j]) % MOD;
                 ^
0_0_14671151_17218.cpp:78:45: error: 'MOD' was not declared in this scope
                 an = (an + ans.mat[i][j]) % MOD;
                                             ^
0_0_14671151_17218.cpp:79:26: error: 'an' was not declared in this scope
         printf("%lld\n", an);
                          ^
0_0_14671151_17218.cpp:79:28: error: 'printf' was not declared in this scope
         printf("%lld\n", an);
                            ^


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-17 05:37:23, Gzip enabled