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_21968505_28591.cpp:92:2: error: stray '#' in program
 }#include <iostream>
  ^
0_0_21968505_28591.cpp:92:3: error: 'include' does not name a type
 }#include <iostream>
   ^
0_0_21968505_28591.cpp:111:10: error: redefinition of 'const ll mod'
 const ll mod = 1e9+7;
          ^
0_0_21968505_28591.cpp:20:10: note: 'const ll mod' previously defined here
 const ll mod = 1e9+7;
          ^
0_0_21968505_28591.cpp:112:11: error: redefinition of 'const int maxn'
 const int maxn = 4;
           ^
0_0_21968505_28591.cpp:21:11: note: 'const int maxn' previously defined here
 const int maxn = 4;
           ^
0_0_21968505_28591.cpp:113:11: error: redefinition of 'const int temp'
 const int temp = 4;
           ^
0_0_21968505_28591.cpp:22:11: note: 'const int temp' previously defined here
 const int temp = 4;
           ^
0_0_21968505_28591.cpp:124:3: error: conflicting declaration 'typedef struct Matrix Matrix'
 } Matrix;
   ^
0_0_21968505_28591.cpp:33:3: note: previous declaration as 'typedef struct Matrix Matrix'
 } Matrix;
   ^
0_0_21968505_28591.cpp:126:8: error: redefinition of 'Matrix matrix'
 Matrix matrix = {1,5,1,-1,1,0,0,0,0,1,0,0,0,0,1,0};
        ^
0_0_21968505_28591.cpp:35:8: note: 'Matrix matrix' previously defined here
 Matrix matrix = {1,5,1,-1,1,0,0,0,0,1,0,0,0,0,1,0};
        ^
0_0_21968505_28591.cpp: In function 'Matrix mul(Matrix, Matrix)':
0_0_21968505_28591.cpp:128:8: error: redefinition of 'Matrix mul(Matrix, Matrix)'
 Matrix mul( Matrix m1, Matrix m2 ) {
        ^
0_0_21968505_28591.cpp:37:8: note: 'Matrix mul(Matrix, Matrix)' previously defined here
 Matrix mul( Matrix m1, Matrix m2 ) {
        ^
0_0_21968505_28591.cpp: In function 'Matrix matrix_quick_power(Matrix, ll)':
0_0_21968505_28591.cpp:142:8: error: redefinition of 'Matrix matrix_quick_power(Matrix, ll)'
 Matrix matrix_quick_power( Matrix m, ll times ) {
        ^
0_0_21968505_28591.cpp:51:8: note: 'Matrix matrix_quick_power(Matrix, ll)' previously defined here
 Matrix matrix_quick_power( Matrix m, ll times ) {
        ^
0_0_21968505_28591.cpp: At global scope:
0_0_21968505_28591.cpp:153:14: error: redefinition of 'const int a [4]'
 const int a[4] = {36,11,5,1};
              ^
0_0_21968505_28591.cpp:62:11: note: 'const int a [4]' previously defined here
 const int a[4] = {36,11,5,1};
           ^
0_0_21968505_28591.cpp: In function 'int main()':
0_0_21968505_28591.cpp:154:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_21968505_28591.cpp:63:5: note: 'int main()' previously defined here
 int main() {
     ^


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 20:24:48, Gzip enabled