运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
445094 Yumi0606 1008 - 平方与立方 编译错误 0 0 MS 0 KB C 130 1年前
暂时无法获取本题测试点详情。

Main.c: In function ‘main’:
Main.c:3:16: error: ‘n’ undeclared (first use in this function)
3 | scanf("%d",&n);
| ^
Main.c:3:16: note: each undeclared identifier is reported only once for each function it appears in
Main.c:5:11: warning: right-hand operand of comma expression has no effect [-Wunused-value]
5 | for(i=1,i<n,i++){
| ^
Main.c:5:19: error: expected ‘;’ before ‘)’ token
5 | for(i=1,i<n,i++){
| ^
| ;
Main.c:5:19: error: expected expression before ‘)’ token