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.");
^
|