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_17200774_29168.cpp:234:2: error: stray '#' in program
 }#include<cstdio>
  ^
0_0_17200774_29168.cpp:94:8: error: redefinition of 'struct prog'
 struct prog{
        ^
0_0_17200774_29168.cpp:7:8: error: previous definition of 'struct prog'
 struct prog{
        ^
0_0_17200774_29168.cpp:137:5: error: conflicting declaration 'int mod'
 int mod;
     ^
0_0_17200774_29168.cpp:3:11: note: previous declaration as 'const int mod'
 const int mod = 9973;
           ^
0_0_17200774_29168.cpp: In function 'prog matrixmult(prog, prog)':
0_0_17200774_29168.cpp:139:6: error: redefinition of 'prog matrixmult(prog, prog)'
 prog matrixmult(prog a,prog b){
      ^
0_0_17200774_29168.cpp:19:6: note: 'prog matrixmult(prog, prog)' previously defined here
 prog matrixmult(prog a,prog b){
      ^
0_0_17200774_29168.cpp: In function 'prog mult(prog, int)':
0_0_17200774_29168.cpp:153:6: error: redefinition of 'prog mult(prog, int)'
 prog mult(prog s,int k){
      ^
0_0_17200774_29168.cpp:33:6: note: 'prog mult(prog, int)' previously defined here
 prog mult(prog s,int k){
      ^
0_0_17200774_29168.cpp: In function 'int main()':
0_0_17200774_29168.cpp:192:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_17200774_29168.cpp:44:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_17200774_29168.cpp: At global scope:
0_0_17200774_29168.cpp:234:3: error: 'include' does not name a type
 }#include<cstdio>
   ^
0_0_17200774_29168.cpp: In function 'int main()':
0_0_17200774_29168.cpp:268:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_17200774_29168.cpp:44:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_17200774_29168.cpp: At global scope:
0_0_17200774_29168.cpp:290:11: error: redefinition of 'const int N'
 const int N = 30;
           ^
0_0_17200774_29168.cpp:4:11: note: 'const int N' previously defined here
 const int N = 11;
           ^
0_0_17200774_29168.cpp:292:5: error: redefinition of 'int n'
 int n,mod;
     ^
0_0_17200774_29168.cpp:6:5: note: 'int n' previously declared here
 int n;
     ^
0_0_17200774_29168.cpp:292:7: error: conflicting declaration 'int mod'
 int n,mod;
       ^
0_0_17200774_29168.cpp:3:11: note: previous declaration as 'const int mod'
 const int mod = 9973;
           ^
0_0_17200774_29168.cpp:293:8: error: redefinition of 'struct prog'
 struct prog{
        ^
0_0_17200774_29168.cpp:7:8: error: previous definition of 'struct prog'
 struct prog{
        ^
0_0_17200774_29168.cpp: In function 'prog matrixmult(prog, prog)':
0_0_17200774_29168.cpp:305:6: error: redefinition of 'prog matrixmult(prog, prog)'
 prog matrixmult(prog a,prog b){
      ^
0_0_17200774_29168.cpp:19:6: note: 'prog matrixmult(prog, prog)' previously defined here
 prog matrixmult(prog a,prog b){
      ^
0_0_17200774_29168.cpp: In function 'prog mult(prog, int)':
0_0_17200774_29168.cpp:319:6: error: redefinition of 'prog mult(prog, int)'
 prog mult(prog s,int k){
      ^
0_0_17200774_29168.cpp:33:6: note: 'prog mult(prog, int)' previously defined here
 prog mult(prog s,int k){
      ^
0_0_17200774_29168.cpp: In function 'int main()':
0_0_17200774_29168.cpp:351:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_17200774_29168.cpp:44:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_17200774_29168.cpp: At global scope:
0_0_17200774_29168.cpp:378:11: error: redefinition of 'const int N'
 const int N = 205;
           ^
0_0_17200774_29168.cpp:4:11: note: 'const int N' previously defined here
 const int N = 11;
           ^
0_0_17200774_29168.cpp: In function 'int main()':
0_0_17200774_29168.cpp:413:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_17200774_29168.cpp:44: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-26 22:31:34, Gzip enabled