0_0_13813695_24733.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13813695_24733.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13813695_24733.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13813695_24733.cpp:2:1: error: expected unqualified-id before '<' token
<stdio.h>
^
0_0_13813695_24733.cpp: In function 'int main()':
0_0_13813695_24733.cpp:27:20: error: 'scanf' was not declared in this scope
while(scanf("%d",&n)!=EOF)
^
0_0_13813695_24733.cpp:27:23: error: 'EOF' was not declared in this scope
while(scanf("%d",&n)!=EOF)
^
0_0_13813695_24733.cpp:31:8: error: 'a' was not declared in this scope
memset(a,0,sizeof(a));
^
0_0_13813695_24733.cpp:31:21: error: 'memset' was not declared in this scope
memset(a,0,sizeof(a));
^
0_0_13813695_24733.cpp:33:8: error: 'b' was not declared in this scope
memset(b,0,sizeof(b));
^
0_0_13813695_24733.cpp:35:8: error: 'sum' was not declared in this scope
memset(sum,0,sizeof(sum));
^
0_0_13813695_24733.cpp:127:18: error: 'printf' was not declared in this scope
printf("%d\n",ans);
^
|