欢迎24级新生
运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
18143 吴嘉怡 2268 - 序列 编译错误 0 0 MS 0 KB C++ 341 1年前
暂时无法获取本题测试点详情。

Main.cc: In function 'int main()':
Main.cc:16:20: error: 'jj' was not declared in this scope; did you mean 'j'?
16 | max= a[jj];
| ^~
| j
Main.cc:5:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
5 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
Main.cc:9:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
9 | scanf("%d",& a[i]);
| ~~~~~^~~~~~~~~~~~~