运行 ID: 18858

Main.cc:24:10: error: #include expects "FILENAME" or 
 #include <bits/stdc++.h>
          ^
Main.cc:46:20: error: stray ‘\’ in program
     printf("%d\n",ans);
                    ^
Main.cc: In function ‘int main()’:
Main.cc:30:12: error: ‘quot’ was not declared in this scope
     scanf("%d",&n);
            ^~~~
Main.cc:30:17: error: expected primary-expression before ‘%’ token
     scanf("%d",&n);
                 ^
Main.cc:30:18: error: ‘d’ was not declared in this scope
     scanf("%d",&n);
                  ^
Main.cc:30:25: error: expected primary-expression before ‘,’ token
     scanf("%d",&n);
                         ^
Main.cc:30:27: error: ‘amp’ was not declared in this scope
     scanf("%d",&n);
                           ^~~
Main.cc:30:32: error: expected ‘;’ before ‘)’ token
     scanf("%d",&n);
                                ^
Main.cc:30:33: warning: statement has no effect [-Wunused-value]
     scanf("%d",&n);
                                 ^
Main.cc:31:19: error: ‘lt’ was not declared in this scope
     for(int i=1;i<=n;i++){
                   ^~
Main.cc:31:22: error: expected primary-expression before ‘=’ token
     for(int i=1;i<=n;i++){
                      ^
Main.cc:31:24: error: expected ‘)’ before ‘;’ token
     for(int i=1;i<=n;i++){
                        ^
Main.cc:31:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i=1;i<=n;i++){
     ^~~
Main.cc:31:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
     for(int i=1;i<=n;i++){
                         ^
Main.cc:31:25: error: ‘i’ was not declared in this scope
Main.cc:35:19: error: ‘lt’ was not declared in this scope
     for(int i=1;i<=n;i++){ //i从1到n枚举每个数字
                   ^~
Main.cc:35:22: error: expected primary-expression before ‘=’ token
     for(int i=1;i<=n;i++){ //i从1到n枚举每个数字
                      ^
Main.cc:35:24: error: expected ‘)’ before ‘;’ token
     for(int i=1;i<=n;i++){ //i从1到n枚举每个数字
                        ^
Main.cc:35:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i=1;i<=n;i++){ //i从1到n枚举每个数字
     ^~~
Main.cc:35:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
     for(int i=1;i<=n;i++){ //i从1到n枚举每个数字
                         ^
Main.cc:43:19: error: ‘lt’ was not declared in this scope
     for(int i=1;i<=n;i++){//找到dp数组中的最大值
                   ^~
Main.cc:43:22: error: expected primary-expression before ‘=’ token
     for(int i=1;i<=n;i++){//找到dp数组中的最大值
                      ^
Main.cc:43:24: error: expected ‘)’ before ‘;’ token
     for(int i=1;i<=n;i++){//找到dp数组中的最大值
                        ^
Main.cc:43:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i=1;i<=n;i++){//找到dp数组中的最大值
     ^~~
Main.cc:43:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
     for(int i=1;i<=n;i++){//找到dp数组中的最大值
                         ^
Main.cc:46:18: error: expected primary-expression before ‘%’ token
     printf("%d\n",ans);
                  ^
Main.cc:46:28: error: expected primary-expression before ‘,’ token
     printf("%d\n",ans);
                            ^