/ Vijos /

记录详情

Compile Error

foo.cc:28:2: error: stray ‘#’ in program
   28 | }#include <cstdio>
      |  ^
foo.cc:55:2: error: stray ‘#’ in program
   55 | }#include <cstdio>
      |  ^
foo.cc:82:2: error: stray ‘#’ in program
   82 | }#include <cstdio>
      |  ^
foo.cc:109:2: error: stray ‘#’ in program
  109 | }#include <cstdio>
      |  ^
foo.cc:136:2: error: stray ‘#’ in program
  136 | }#include <cstdio>
      |  ^
foo.cc:163:2: error: stray ‘#’ in program
  163 | }#include <cstdio>
      |  ^
foo.cc:190:2: error: stray ‘#’ in program
  190 | }#include <cstdio>
      |  ^
foo.cc:217:2: error: stray ‘#’ in program
  217 | }#include <cstdio>
      |  ^
foo.cc:244:2: error: stray ‘#’ in program
  244 | }#include <cstdio>
      |  ^
foo.cc:271:2: error: stray ‘#’ in program
  271 | }#include <cstdio>
      |  ^
foo.cc:298:2: error: stray ‘#’ in program
  298 | }#include <cstdio>
      |  ^
foo.cc:325:2: error: stray ‘#’ in program
  325 | }#include <cstdio>
      |  ^
foo.cc:352:2: error: stray ‘#’ in program
  352 | }#include <cstdio>
      |  ^
foo.cc:379:2: error: stray ‘#’ in program
  379 | }#include <cstdio>
      |  ^
foo.cc:406:2: error: stray ‘#’ in program
  406 | }#include <cstdio>
      |  ^
foo.cc:433:2: error: stray ‘#’ in program
  433 | }#include <cstdio>
      |  ^
foo.cc:460:2: error: stray ‘#’ in program
  460 | }#include <cstdio>
      |  ^
foo.cc:487:2: error: stray ‘#’ in program
  487 | }#include <cstdio>
      |  ^
foo.cc:514:2: error: stray ‘#’ in program
  514 | }#include <cstdio>
      |  ^
foo.cc:541:2: error: stray ‘#’ in program
  541 | }#include <cstdio>
      |  ^
foo.cc:28:3: error: ‘include’ does not name a type
   28 | }#include <cstdio>
      |   ^~~~~~~
foo.cc:37:5: error: redefinition of ‘int l’
   37 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:10:5: note: ‘int l’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:37:7: error: redefinition of ‘int s’
   37 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:10:7: note: ‘int s’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:37:9: error: redefinition of ‘int t’
   37 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:10:9: note: ‘int t’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:37:11: error: redefinition of ‘int m’
   37 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:10:11: note: ‘int m’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:37:13: error: redefinition of ‘int a [101]’
   37 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:10:13: note: ‘int a [101]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:37:20: error: redefinition of ‘int stone [252001]’
   37 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:10:20: note: ‘int stone [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:37:33: error: redefinition of ‘int f [252001]’
   37 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:10:33: note: ‘int f [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:38:5: error: redefinition of ‘int main()’
   38 | int main(){
      |     ^~~~
foo.cc:11:5: note: ‘int main()’ previously defined here
   11 | int main(){
      |     ^~~~
foo.cc:55:3: error: ‘include’ does not name a type
   55 | }#include <cstdio>
      |   ^~~~~~~
foo.cc:64:5: error: redefinition of ‘int l’
   64 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:10:5: note: ‘int l’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:64:7: error: redefinition of ‘int s’
   64 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:10:7: note: ‘int s’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:64:9: error: redefinition of ‘int t’
   64 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:10:9: note: ‘int t’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:64:11: error: redefinition of ‘int m’
   64 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:10:11: note: ‘int m’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:64:13: error: redefinition of ‘int a [101]’
   64 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:10:13: note: ‘int a [101]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:64:20: error: redefinition of ‘int stone [252001]’
   64 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:10:20: note: ‘int stone [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:64:33: error: redefinition of ‘int f [252001]’
   64 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:10:33: note: ‘int f [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:65:5: error: redefinition of ‘int main()’
   65 | int main(){
      |     ^~~~
foo.cc:11:5: note: ‘int main()’ previously defined here
   11 | int main(){
      |     ^~~~
foo.cc:82:3: error: ‘include’ does not name a type
   82 | }#include <cstdio>
      |   ^~~~~~~
foo.cc:91:5: error: redefinition of ‘int l’
   91 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:10:5: note: ‘int l’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:91:7: error: redefinition of ‘int s’
   91 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:10:7: note: ‘int s’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:91:9: error: redefinition of ‘int t’
   91 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:10:9: note: ‘int t’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:91:11: error: redefinition of ‘int m’
   91 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:10:11: note: ‘int m’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:91:13: error: redefinition of ‘int a [101]’
   91 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:10:13: note: ‘int a [101]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:91:20: error: redefinition of ‘int stone [252001]’
   91 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:10:20: note: ‘int stone [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:91:33: error: redefinition of ‘int f [252001]’
   91 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:10:33: note: ‘int f [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:92:5: error: redefinition of ‘int main()’
   92 | int main(){
      |     ^~~~
foo.cc:11:5: note: ‘int main()’ previously defined here
   11 | int main(){
      |     ^~~~
foo.cc:109:3: error: ‘include’ does not name a type
  109 | }#include <cstdio>
      |   ^~~~~~~
foo.cc:118:5: error: redefinition of ‘int l’
  118 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:10:5: note: ‘int l’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:118:7: error: redefinition of ‘int s’
  118 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:10:7: note: ‘int s’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:118:9: error: redefinition of ‘int t’
  118 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:10:9: note: ‘int t’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:118:11: error: redefinition of ‘int m’
  118 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:10:11: note: ‘int m’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:118:13: error: redefinition of ‘int a [101]’
  118 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:10:13: note: ‘int a [101]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:118:20: error: redefinition of ‘int stone [252001]’
  118 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:10:20: note: ‘int stone [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:118:33: error: redefinition of ‘int f [252001]’
  118 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:10:33: note: ‘int f [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:119:5: error: redefinition of ‘int main()’
  119 | int main(){
      |     ^~~~
foo.cc:11:5: note: ‘int main()’ previously defined here
   11 | int main(){
      |     ^~~~
foo.cc:136:3: error: ‘include’ does not name a type
  136 | }#include <cstdio>
      |   ^~~~~~~
foo.cc:145:5: error: redefinition of ‘int l’
  145 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:10:5: note: ‘int l’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:145:7: error: redefinition of ‘int s’
  145 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:10:7: note: ‘int s’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:145:9: error: redefinition of ‘int t’
  145 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:10:9: note: ‘int t’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:145:11: error: redefinition of ‘int m’
  145 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:10:11: note: ‘int m’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:145:13: error: redefinition of ‘int a [101]’
  145 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:10:13: note: ‘int a [101]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:145:20: error: redefinition of ‘int stone [252001]’
  145 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:10:20: note: ‘int stone [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:145:33: error: redefinition of ‘int f [252001]’
  145 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:10:33: note: ‘int f [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:146:5: error: redefinition of ‘int main()’
  146 | int main(){
      |     ^~~~
foo.cc:11:5: note: ‘int main()’ previously defined here
   11 | int main(){
      |     ^~~~
foo.cc:163:3: error: ‘include’ does not name a type
  163 | }#include <cstdio>
      |   ^~~~~~~
foo.cc:172:5: error: redefinition of ‘int l’
  172 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:10:5: note: ‘int l’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:172:7: error: redefinition of ‘int s’
  172 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:10:7: note: ‘int s’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:172:9: error: redefinition of ‘int t’
  172 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:10:9: note: ‘int t’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:172:11: error: redefinition of ‘int m’
  172 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:10:11: note: ‘int m’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:172:13: error: redefinition of ‘int a [101]’
  172 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:10:13: note: ‘int a [101]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:172:20: error: redefinition of ‘int stone [252001]’
  172 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:10:20: note: ‘int stone [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:172:33: error: redefinition of ‘int f [252001]’
  172 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:10:33: note: ‘int f [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:173:5: error: redefinition of ‘int main()’
  173 | int main(){
      |     ^~~~
foo.cc:11:5: note: ‘int main()’ previously defined here
   11 | int main(){
      |     ^~~~
foo.cc:190:3: error: ‘include’ does not name a type
  190 | }#include <cstdio>
      |   ^~~~~~~
foo.cc:199:5: error: redefinition of ‘int l’
  199 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:10:5: note: ‘int l’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:199:7: error: redefinition of ‘int s’
  199 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:10:7: note: ‘int s’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:199:9: error: redefinition of ‘int t’
  199 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:10:9: note: ‘int t’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:199:11: error: redefinition of ‘int m’
  199 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:10:11: note: ‘int m’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:199:13: error: redefinition of ‘int a [101]’
  199 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:10:13: note: ‘int a [101]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:199:20: error: redefinition of ‘int stone [252001]’
  199 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:10:20: note: ‘int stone [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:199:33: error: redefinition of ‘int f [252001]’
  199 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:10:33: note: ‘int f [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:200:5: error: redefinition of ‘int main()’
  200 | int main(){
      |     ^~~~
foo.cc:11:5: note: ‘int main()’ previously defined here
   11 | int main(){
      |     ^~~~
foo.cc:217:3: error: ‘include’ does not name a type
  217 | }#include <cstdio>
      |   ^~~~~~~
foo.cc:226:5: error: redefinition of ‘int l’
  226 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:10:5: note: ‘int l’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:226:7: error: redefinition of ‘int s’
  226 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:10:7: note: ‘int s’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:226:9: error: redefinition of ‘int t’
  226 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:10:9: note: ‘int t’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:226:11: error: redefinition of ‘int m’
  226 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:10:11: note: ‘int m’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:226:13: error: redefinition of ‘int a [101]’
  226 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:10:13: note: ‘int a [101]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:226:20: error: redefinition of ‘int stone [252001]’
  226 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:10:20: note: ‘int stone [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:226:33: error: redefinition of ‘int f [252001]’
  226 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:10:33: note: ‘int f [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:227:5: error: redefinition of ‘int main()’
  227 | int main(){
      |     ^~~~
foo.cc:11:5: note: ‘int main()’ previously defined here
   11 | int main(){
      |     ^~~~
foo.cc:244:3: error: ‘include’ does not name a type
  244 | }#include <cstdio>
      |   ^~~~~~~
foo.cc:253:5: error: redefinition of ‘int l’
  253 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:10:5: note: ‘int l’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:253:7: error: redefinition of ‘int s’
  253 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:10:7: note: ‘int s’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:253:9: error: redefinition of ‘int t’
  253 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:10:9: note: ‘int t’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:253:11: error: redefinition of ‘int m’
  253 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:10:11: note: ‘int m’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:253:13: error: redefinition of ‘int a [101]’
  253 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:10:13: note: ‘int a [101]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:253:20: error: redefinition of ‘int stone [252001]’
  253 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:10:20: note: ‘int stone [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:253:33: error: redefinition of ‘int f [252001]’
  253 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:10:33: note: ‘int f [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:254:5: error: redefinition of ‘int main()’
  254 | int main(){
      |     ^~~~
foo.cc:11:5: note: ‘int main()’ previously defined here
   11 | int main(){
      |     ^~~~
foo.cc:271:3: error: ‘include’ does not name a type
  271 | }#include <cstdio>
      |   ^~~~~~~
foo.cc:280:5: error: redefinition of ‘int l’
  280 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:10:5: note: ‘int l’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:280:7: error: redefinition of ‘int s’
  280 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:10:7: note: ‘int s’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:280:9: error: redefinition of ‘int t’
  280 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:10:9: note: ‘int t’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:280:11: error: redefinition of ‘int m’
  280 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:10:11: note: ‘int m’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:280:13: error: redefinition of ‘int a [101]’
  280 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:10:13: note: ‘int a [101]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:280:20: error: redefinition of ‘int stone [252001]’
  280 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:10:20: note: ‘int stone [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:280:33: error: redefinition of ‘int f [252001]’
  280 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:10:33: note: ‘int f [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:281:5: error: redefinition of ‘int main()’
  281 | int main(){
      |     ^~~~
foo.cc:11:5: note: ‘int main()’ previously defined here
   11 | int main(){
      |     ^~~~
foo.cc:298:3: error: ‘include’ does not name a type
  298 | }#include <cstdio>
      |   ^~~~~~~
foo.cc:307:5: error: redefinition of ‘int l’
  307 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:10:5: note: ‘int l’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:307:7: error: redefinition of ‘int s’
  307 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:10:7: note: ‘int s’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:307:9: error: redefinition of ‘int t’
  307 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:10:9: note: ‘int t’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:307:11: error: redefinition of ‘int m’
  307 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:10:11: note: ‘int m’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:307:13: error: redefinition of ‘int a [101]’
  307 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:10:13: note: ‘int a [101]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:307:20: error: redefinition of ‘int stone [252001]’
  307 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:10:20: note: ‘int stone [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:307:33: error: redefinition of ‘int f [252001]’
  307 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:10:33: note: ‘int f [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:308:5: error: redefinition of ‘int main()’
  308 | int main(){
      |     ^~~~
foo.cc:11:5: note: ‘int main()’ previously defined here
   11 | int main(){
      |     ^~~~
foo.cc:325:3: error: ‘include’ does not name a type
  325 | }#include <cstdio>
      |   ^~~~~~~
foo.cc:334:5: error: redefinition of ‘int l’
  334 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:10:5: note: ‘int l’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:334:7: error: redefinition of ‘int s’
  334 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:10:7: note: ‘int s’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:334:9: error: redefinition of ‘int t’
  334 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:10:9: note: ‘int t’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:334:11: error: redefinition of ‘int m’
  334 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:10:11: note: ‘int m’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:334:13: error: redefinition of ‘int a [101]’
  334 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:10:13: note: ‘int a [101]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:334:20: error: redefinition of ‘int stone [252001]’
  334 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:10:20: note: ‘int stone [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:334:33: error: redefinition of ‘int f [252001]’
  334 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:10:33: note: ‘int f [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:335:5: error: redefinition of ‘int main()’
  335 | int main(){
      |     ^~~~
foo.cc:11:5: note: ‘int main()’ previously defined here
   11 | int main(){
      |     ^~~~
foo.cc:352:3: error: ‘include’ does not name a type
  352 | }#include <cstdio>
      |   ^~~~~~~
foo.cc:361:5: error: redefinition of ‘int l’
  361 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:10:5: note: ‘int l’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:361:7: error: redefinition of ‘int s’
  361 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:10:7: note: ‘int s’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:361:9: error: redefinition of ‘int t’
  361 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:10:9: note: ‘int t’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:361:11: error: redefinition of ‘int m’
  361 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:10:11: note: ‘int m’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:361:13: error: redefinition of ‘int a [101]’
  361 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:10:13: note: ‘int a [101]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:361:20: error: redefinition of ‘int stone [252001]’
  361 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:10:20: note: ‘int stone [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:361:33: error: redefinition of ‘int f [252001]’
  361 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:10:33: note: ‘int f [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:362:5: error: redefinition of ‘int main()’
  362 | int main(){
      |     ^~~~
foo.cc:11:5: note: ‘int main()’ previously defined here
   11 | int main(){
      |     ^~~~
foo.cc:379:3: error: ‘include’ does not name a type
  379 | }#include <cstdio>
      |   ^~~~~~~
foo.cc:388:5: error: redefinition of ‘int l’
  388 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:10:5: note: ‘int l’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:388:7: error: redefinition of ‘int s’
  388 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:10:7: note: ‘int s’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:388:9: error: redefinition of ‘int t’
  388 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:10:9: note: ‘int t’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:388:11: error: redefinition of ‘int m’
  388 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:10:11: note: ‘int m’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:388:13: error: redefinition of ‘int a [101]’
  388 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:10:13: note: ‘int a [101]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:388:20: error: redefinition of ‘int stone [252001]’
  388 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:10:20: note: ‘int stone [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:388:33: error: redefinition of ‘int f [252001]’
  388 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:10:33: note: ‘int f [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:389:5: error: redefinition of ‘int main()’
  389 | int main(){
      |     ^~~~
foo.cc:11:5: note: ‘int main()’ previously defined here
   11 | int main(){
      |     ^~~~
foo.cc:406:3: error: ‘include’ does not name a type
  406 | }#include <cstdio>
      |   ^~~~~~~
foo.cc:415:5: error: redefinition of ‘int l’
  415 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:10:5: note: ‘int l’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:415:7: error: redefinition of ‘int s’
  415 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:10:7: note: ‘int s’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:415:9: error: redefinition of ‘int t’
  415 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:10:9: note: ‘int t’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:415:11: error: redefinition of ‘int m’
  415 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:10:11: note: ‘int m’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:415:13: error: redefinition of ‘int a [101]’
  415 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:10:13: note: ‘int a [101]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:415:20: error: redefinition of ‘int stone [252001]’
  415 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:10:20: note: ‘int stone [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:415:33: error: redefinition of ‘int f [252001]’
  415 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:10:33: note: ‘int f [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:416:5: error: redefinition of ‘int main()’
  416 | int main(){
      |     ^~~~
foo.cc:11:5: note: ‘int main()’ previously defined here
   11 | int main(){
      |     ^~~~
foo.cc:433:3: error: ‘include’ does not name a type
  433 | }#include <cstdio>
      |   ^~~~~~~
foo.cc:442:5: error: redefinition of ‘int l’
  442 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:10:5: note: ‘int l’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:442:7: error: redefinition of ‘int s’
  442 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:10:7: note: ‘int s’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:442:9: error: redefinition of ‘int t’
  442 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:10:9: note: ‘int t’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:442:11: error: redefinition of ‘int m’
  442 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:10:11: note: ‘int m’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:442:13: error: redefinition of ‘int a [101]’
  442 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:10:13: note: ‘int a [101]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:442:20: error: redefinition of ‘int stone [252001]’
  442 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:10:20: note: ‘int stone [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:442:33: error: redefinition of ‘int f [252001]’
  442 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:10:33: note: ‘int f [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:443:5: error: redefinition of ‘int main()’
  443 | int main(){
      |     ^~~~
foo.cc:11:5: note: ‘int main()’ previously defined here
   11 | int main(){
      |     ^~~~
foo.cc:460:3: error: ‘include’ does not name a type
  460 | }#include <cstdio>
      |   ^~~~~~~
foo.cc:469:5: error: redefinition of ‘int l’
  469 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:10:5: note: ‘int l’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:469:7: error: redefinition of ‘int s’
  469 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:10:7: note: ‘int s’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:469:9: error: redefinition of ‘int t’
  469 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:10:9: note: ‘int t’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:469:11: error: redefinition of ‘int m’
  469 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:10:11: note: ‘int m’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:469:13: error: redefinition of ‘int a [101]’
  469 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:10:13: note: ‘int a [101]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:469:20: error: redefinition of ‘int stone [252001]’
  469 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:10:20: note: ‘int stone [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:469:33: error: redefinition of ‘int f [252001]’
  469 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:10:33: note: ‘int f [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:470:5: error: redefinition of ‘int main()’
  470 | int main(){
      |     ^~~~
foo.cc:11:5: note: ‘int main()’ previously defined here
   11 | int main(){
      |     ^~~~
foo.cc:487:3: error: ‘include’ does not name a type
  487 | }#include <cstdio>
      |   ^~~~~~~
foo.cc:496:5: error: redefinition of ‘int l’
  496 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:10:5: note: ‘int l’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:496:7: error: redefinition of ‘int s’
  496 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:10:7: note: ‘int s’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:496:9: error: redefinition of ‘int t’
  496 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:10:9: note: ‘int t’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:496:11: error: redefinition of ‘int m’
  496 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:10:11: note: ‘int m’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:496:13: error: redefinition of ‘int a [101]’
  496 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:10:13: note: ‘int a [101]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:496:20: error: redefinition of ‘int stone [252001]’
  496 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:10:20: note: ‘int stone [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:496:33: error: redefinition of ‘int f [252001]’
  496 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:10:33: note: ‘int f [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:497:5: error: redefinition of ‘int main()’
  497 | int main(){
      |     ^~~~
foo.cc:11:5: note: ‘int main()’ previously defined here
   11 | int main(){
      |     ^~~~
foo.cc:514:3: error: ‘include’ does not name a type
  514 | }#include <cstdio>
      |   ^~~~~~~
foo.cc:523:5: error: redefinition of ‘int l’
  523 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:10:5: note: ‘int l’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:523:7: error: redefinition of ‘int s’
  523 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:10:7: note: ‘int s’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:523:9: error: redefinition of ‘int t’
  523 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:10:9: note: ‘int t’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:523:11: error: redefinition of ‘int m’
  523 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:10:11: note: ‘int m’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:523:13: error: redefinition of ‘int a [101]’
  523 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:10:13: note: ‘int a [101]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:523:20: error: redefinition of ‘int stone [252001]’
  523 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:10:20: note: ‘int stone [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:523:33: error: redefinition of ‘int f [252001]’
  523 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:10:33: note: ‘int f [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:524:5: error: redefinition of ‘int main()’
  524 | int main(){
      |     ^~~~
foo.cc:11:5: note: ‘int main()’ previously defined here
   11 | int main(){
      |     ^~~~
foo.cc:541:3: error: ‘include’ does not name a type
  541 | }#include <cstdio>
      |   ^~~~~~~
foo.cc:550:5: error: redefinition of ‘int l’
  550 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:10:5: note: ‘int l’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |     ^
foo.cc:550:7: error: redefinition of ‘int s’
  550 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:10:7: note: ‘int s’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |       ^
foo.cc:550:9: error: redefinition of ‘int t’
  550 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:10:9: note: ‘int t’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |         ^
foo.cc:550:11: error: redefinition of ‘int m’
  550 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:10:11: note: ‘int m’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |           ^
foo.cc:550:13: error: redefinition of ‘int a [101]’
  550 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:10:13: note: ‘int a [101]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |             ^
foo.cc:550:20: error: redefinition of ‘int stone [252001]’
  550 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:10:20: note: ‘int stone [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                    ^~~~~
foo.cc:550:33: error: redefinition of ‘int f [252001]’
  550 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:10:33: note: ‘int f [252001]’ previously declared here
   10 | int l,s,t,m,a[M+1],stone[M*L+1],f[M*L+1];
      |                                 ^
foo.cc:551:5: error: redefinition of ‘int main()’
  551 | int main(){
      |     ^~~~
foo.cc:11:5: note: ‘int main()’ previously defined here
   11 | int main(){
      |     ^~~~

信息

递交者
类型
递交
题目
P1002 过河
语言
C++
递交时间
2024-10-03 11:10:00
评测时间
2024-10-03 11:10:00
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes