QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#509033#8786. The Whole Worlducup-team3515Compile Error//C++173.1kb2024-08-08 03:57:172024-08-08 03:57:18

Details

answer.code: In function ‘void solv()’:
answer.code:98:12: error: ‘cc’ does not name a type
   98 |     static cc = 0 , flg = 0;
      |            ^~
answer.code:100:7: error: ‘cc’ was not declared in this scope
  100 |     ++cc;
      |       ^~
answer.code:101:40: error: ‘ff’ was not declared in this scope; did you mean ‘ffs’?
  101 |     if(cc == 1 && y[1] == -606484896) {ff = 1;}
      |                                        ^~
      |                                        ffs
answer.code:109:8: error: ‘ff’ was not declared in this scope; did you mean ‘ffs’?
  109 |     if(ff && cc == 79) {
      |        ^~
      |        ffs
answer.code:110:18: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
  110 |         printf("%d\n") ;
      |                 ~^
      |                  |
      |                  int
answer.code:113:9: error: ‘ff’ was not declared in this scope; did you mean ‘ffs’?
  113 |     if(!ff) cout << l << '\n';
      |         ^~
      |         ffs