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_16591441_20998.cpp:1:24: error: stray '#' in program
 -----------------------#include<bits/stdc++.h>
                        ^
0_0_16591441_20998.cpp:1:1: error: expected unqualified-id before '--' token
 -----------------------#include<bits/stdc++.h>
 ^
0_0_16591441_20998.cpp: In function 'int read()':
0_0_16591441_20998.cpp:11:34: error: 'getchar' was not declared in this scope
     int s=0,fh=1;char ch=getchar();
                                  ^
0_0_16591441_20998.cpp: In function 'void pushdown(int)':
0_0_16591441_20998.cpp:26:40: error: 'swap' was not declared in this scope
         swap(tree[x].left,tree[x].right);
                                        ^
0_0_16591441_20998.cpp: In function 'int main()':
0_0_16591441_20998.cpp:102:24: error: 'scanf' was not declared in this scope
     while(scanf("%d",&n)!=EOF)
                        ^
0_0_16591441_20998.cpp:102:27: error: 'EOF' was not declared in this scope
     while(scanf("%d",&n)!=EOF)
                           ^
0_0_16591441_20998.cpp:107:22: error: 'puts' was not declared in this scope
         if(tt)puts("");
                      ^
0_0_16591441_20998.cpp:129:42: error: 'printf' was not declared in this scope
                 printf("%d\n",findroot(k));
                                          ^


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-01 22:30:14, Gzip enabled