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_32867952_9786.cpp:1:7: error: stray '#' in program
 <code>#include<bits/stdc++.h>
       ^
0_0_32867952_9786.cpp:1:1: error: expected unqualified-id before '<' token
 <code>#include<bits/stdc++.h>
 ^
0_0_32867952_9786.cpp: In function 'int gi()':
0_0_32867952_9786.cpp:10:23: error: 'getchar' was not declared in this scope
     char ch = getchar();
                       ^
0_0_32867952_9786.cpp:11:22: error: 'isdigit' was not declared in this scope
     while(!isdigit(ch)) { if(ch == '-') f = -1; ch = getchar();}
                      ^
0_0_32867952_9786.cpp:12:21: error: 'isdigit' was not declared in this scope
     while(isdigit(ch)) { x = (x << 3) + (x << 1) + ch - 48; ch = getchar();}
                     ^
0_0_32867952_9786.cpp: In function 'int main()':
0_0_32867952_9786.cpp:26:53: error: 'puts' was not declared in this scope
             puts("The data have been tampered with!");
                                                     ^
0_0_32867952_9786.cpp:29:30: error: 'sort' was not declared in this scope
         sort(a + 1, a + 1 + n);
                              ^
0_0_32867952_9786.cpp:35:57: error: 'puts' was not declared in this scope
         if(!fg) puts("The data have been tampered with!");
                                                         ^
0_0_32867952_9786.cpp:36:49: error: 'puts' was not declared in this scope
         else puts("It seems to have no problem.");
                                                 ^


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-23 03:43:19, Gzip enabled