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_32179285_9942.cpp:57:2: error: stray '#' in program
 }#include <iostream>
  ^
0_0_32179285_9942.cpp:57:3: error: 'include' does not name a type
 }#include <iostream>
   ^
0_0_32179285_9942.cpp:63:11: error: redefinition of 'const int size'
 const int size=4;
           ^
0_0_32179285_9942.cpp:7:11: note: 'const int size' previously defined here
 const int size=4;
           ^
0_0_32179285_9942.cpp:64:11: error: redefinition of 'long long int mod'
 long long mod=1e4+7;
           ^
0_0_32179285_9942.cpp:8:11: note: 'long long int mod' previously defined here
 long long mod=1e4+7;
           ^
0_0_32179285_9942.cpp:65:11: error: redefinition of 'long long int x'
 long long x,y,n;
           ^
0_0_32179285_9942.cpp:9:11: note: 'long long int x' previously declared here
 long long x,y,n;
           ^
0_0_32179285_9942.cpp:65:13: error: redefinition of 'long long int y'
 long long x,y,n;
             ^
0_0_32179285_9942.cpp:9:13: note: 'long long int y' previously declared here
 long long x,y,n;
             ^
0_0_32179285_9942.cpp:65:15: error: redefinition of 'long long int n'
 long long x,y,n;
               ^
0_0_32179285_9942.cpp:9:15: note: 'long long int n' previously declared here
 long long x,y,n;
               ^
0_0_32179285_9942.cpp:66:8: error: redefinition of 'struct node'
 struct node
        ^
0_0_32179285_9942.cpp:10:8: error: previous definition of 'struct node'
 struct node
        ^
0_0_32179285_9942.cpp: In function 'node cheng(node, node)':
0_0_32179285_9942.cpp:71:6: error: redefinition of 'node cheng(node, node)'
 node cheng(node x,node y)
      ^
0_0_32179285_9942.cpp:15:6: note: 'node cheng(node, node)' previously defined here
 node cheng(node x,node y)
      ^
0_0_32179285_9942.cpp: In function 'node powmod(node, long long int)':
0_0_32179285_9942.cpp:85:6: error: redefinition of 'node powmod(node, long long int)'
 node powmod(node x,long long p)
      ^
0_0_32179285_9942.cpp:29:6: note: 'node powmod(node, long long int)' previously defined here
 node powmod(node x,long long p)
      ^
0_0_32179285_9942.cpp: In function 'int main()':
0_0_32179285_9942.cpp:99:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_32179285_9942.cpp:43: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-23 04:04:33, Gzip enabled