0_0_33210467_928.cpp:1:53: error: stray '#' in program
<span style="font-size:18px;color:#000099;"><strong>#include<stdio.h>
^
0_0_33210467_928.cpp:1:1: error: expected unqualified-id before '<' token
<span style="font-size:18px;color:#000099;"><strong>#include<stdio.h>
^
0_0_33210467_928.cpp: In function 'int main()':
0_0_33210467_928.cpp:7:21: error: 'scanf' was not declared in this scope
while(scanf("%d",&n)&&n)
^
0_0_33210467_928.cpp:11:5: error: 'dp' was not declared in this scope
dp[0]=a[0];t=0;
^
0_0_33210467_928.cpp:11:16: error: 't' was not declared in this scope
dp[0]=a[0];t=0;
^
0_0_33210467_928.cpp:14:6: error: 'maxn' was not declared in this scope
maxn=0;
^
0_0_33210467_928.cpp:20:23: error: 'printf' was not declared in this scope
printf("%I64d\n",t);
^
0_0_33210467_928.cpp: At global scope:
0_0_33210467_928.cpp:24:1: error: expected unqualified-id before '<' token
</strong></span>//https://blog.csdn.net/qinmusiyan/article/details/7982443
^
|