QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#317336#7365. 东方永夜抄locseyCompile Error//C++143.2kb2024-01-28 21:00:092024-01-28 21:00:10

Details

answer.code: In function ‘void Solver::mian()’:
answer.code:63:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
   63 |                 fprintf(stderr, "floor memery : %d\n", (&_st - &_ed) >> 20);
      |                                                 ~^     ~~~~~~~~~~~~~~~~~~~
      |                                                  |                   |
      |                                                  int                 long int
      |                                                 %ld
At global scope:
cc1plus: error: ‘::main’ must return ‘int’