0_0_29012051_17153.cpp:1:31: error: stray '#' in program
<span style="font-size:18px;">#include<cstdio>
^
0_0_29012051_17153.cpp:1:1: error: expected unqualified-id before '<' token
<span style="font-size:18px;">#include<cstdio>
^
0_0_29012051_17153.cpp: In function 'int main()':
0_0_29012051_17153.cpp:7:21: error: 'scanf' was not declared in this scope
while(scanf("%d",&n)!=EOF)
^
0_0_29012051_17153.cpp:7:24: error: 'EOF' was not declared in this scope
while(scanf("%d",&n)!=EOF)
^
0_0_29012051_17153.cpp:32:42: error: 'printf' was not declared in this scope
printf("%d %d\n",sum-dp[cnt],dp[cnt]);
^
0_0_29012051_17153.cpp: At global scope:
0_0_29012051_17153.cpp:35:3: error: expected unqualified-id before '<' token
} </span>
^
|