QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#317336#7365. 东方永夜抄locseyCompile Error//C++143.2kb2024-01-28 21:00:092024-01-28 21:00:10

詳細信息

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’