QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#646805#7880. Streak Manipulationucup-team2513Compile Error//C++171.6kb2024-10-17 08:48:302024-10-17 08:48:30

詳細信息

answer.code: In function ‘bool check(int)’:
answer.code:38:52: error: expected ‘)’ before ‘f’
   38 |                         f[i][j][0] = min(f[i][j][0]f[i][j][0], f[i - 1][j][0]);
      |                                         ~          ^
      |                                                    )
answer.code: In function ‘int main()’:
answer.code:47:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   47 |         scanf("%d%d%d", &n, &m, &k);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~
answer.code:48:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   48 |         scanf("%s", s + 1);
      |         ~~~~~^~~~~~~~~~~~~