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_39545445_18958.cpp:39:2: error: stray '#' in program
   39 | }#include <iostream>
      |  ^
0_0_39545445_18958.cpp:39:3: error: 'include' does not name a type
   39 | }#include <iostream>
      |   ^~~~~~~
0_0_39545445_18958.cpp:44:5: error: redefinition of 'int n'
   44 | int n,m;
      |     ^
0_0_39545445_18958.cpp:6:5: note: 'int n' previously declared here
    6 | int n,m;
      |     ^
0_0_39545445_18958.cpp:44:7: error: redefinition of 'int m'
   44 | int n,m;
      |       ^
0_0_39545445_18958.cpp:6:7: note: 'int m' previously declared here
    6 | int n,m;
      |       ^
0_0_39545445_18958.cpp:45:5: error: redefinition of 'int a [11]'
   45 | int a[11];
      |     ^
0_0_39545445_18958.cpp:7:5: note: 'int a [11]' previously declared here
    7 | int a[11];
      |     ^
0_0_39545445_18958.cpp:46:8: error: redefinition of 'double fac [11]'
   46 | double fac[11];
      |        ^~~
0_0_39545445_18958.cpp:8:8: note: 'double fac [11]' previously declared here
    8 | double fac[11];
      |        ^~~
0_0_39545445_18958.cpp:47:8: error: redefinition of 'double C [11]'
   47 | double C[11],D[22];
      |        ^
0_0_39545445_18958.cpp:9:8: note: 'double C [11]' previously declared here
    9 | double C[11],D[22];
      |        ^
0_0_39545445_18958.cpp:47:14: error: redefinition of 'double D [22]'
   47 | double C[11],D[22];
      |              ^
0_0_39545445_18958.cpp:9:14: note: 'double D [22]' previously declared here
    9 | double C[11],D[22];
      |              ^
0_0_39545445_18958.cpp:49:6: error: redefinition of 'void init()'
   49 | void init(){//¼ÆËã½×³Ë
      |      ^~~~
0_0_39545445_18958.cpp:11:6: note: 'void init()' previously defined here
   11 | void init(){//¼ÆËã½×³Ë
      |      ^~~~
0_0_39545445_18958.cpp:54:8: error: redefinition of 'double calc()'
   54 | double calc(){
      |        ^~~~
0_0_39545445_18958.cpp:16:8: note: 'double calc()' previously defined here
   16 | double calc(){
      |        ^~~~
0_0_39545445_18958.cpp:69:5: error: redefinition of 'int main()'
   69 | int main(){
      |     ^~~~
0_0_39545445_18958.cpp:31:5: note: 'int main()' previously defined here
   31 | 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 03:04:16, Gzip enabled