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_38218308_2842.cpp:56:2: error: stray '#' in program
 }#include<iostream>
  ^
0_0_38218308_2842.cpp: In function 'void solve()':
0_0_38218308_2842.cpp:13:23: error: 'memset' was not declared in this scope
   memset(a,0,sizeof(a));
                       ^
0_0_38218308_2842.cpp: At global scope:
0_0_38218308_2842.cpp:56:3: error: 'include' does not name a type
 }#include<iostream>
   ^
0_0_38218308_2842.cpp:61:9: error: redefinition of 'int a [30]'
 int a[30];
         ^
0_0_38218308_2842.cpp:6:5: note: 'int a [30]' previously declared here
 int a[30];
     ^
0_0_38218308_2842.cpp: In function 'void solve()':
0_0_38218308_2842.cpp:62:6: error: redefinition of 'void solve()'
 void solve()
      ^
0_0_38218308_2842.cpp:7:6: note: 'void solve()' previously defined here
 void solve()
      ^
0_0_38218308_2842.cpp:68:23: error: 'memset' was not declared in this scope
   memset(a,0,sizeof(a));
                       ^
0_0_38218308_2842.cpp: In function 'int main()':
0_0_38218308_2842.cpp:101:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_38218308_2842.cpp:46: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-10-06 11:51:33, Gzip enabled