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_38333188_25951.cpp:12:7: error: stray '#' in program
  s[x]=#include<bits/stdc++.h>
       ^
0_0_38333188_25951.cpp: In function 'int find(int)':
0_0_38333188_25951.cpp:12:8: error: 'include' was not declared in this scope
  s[x]=#include<bits/stdc++.h>
        ^
0_0_38333188_25951.cpp:12:16: error: 'bits' was not declared in this scope
  s[x]=#include<bits/stdc++.h>
                ^
0_0_38333188_25951.cpp:12:21: error: 'stdc' was not declared in this scope
  s[x]=#include<bits/stdc++.h>
                     ^
0_0_38333188_25951.cpp:13:1: error: expected primary-expression before 'using'
 using namespace std;
 ^
0_0_38333188_25951.cpp:17:12: error: a function-definition is not allowed here before '{' token
 void init(){
            ^
0_0_38333188_25951.cpp:21:16: error: a function-definition is not allowed here before '{' token
 int find(int x){
                ^
0_0_38333188_25951.cpp:81:1: error: expected '}' at end of input
 }
 ^


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-13 12:54:26, Gzip enabled