运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
461307 | 哎呦~你干嘛~ | 1011 - 计算翻一番的年份 | 编译错误 | 0 | 0 MS | 0 KB | C | 267 | 1年前 |
Main.c: In function ‘main’:
Main.c:9:12: warning: right-hand operand of comma expression has no effect [-Wunused-value]
9 | for(i=0,amount<=mon*2,i++)
| ^
Main.c:9:30: error: expected ‘;’ before ‘)’ token
9 | for(i=0,amount<=mon*2,i++)
| ^
| ;
Main.c:9:30: error: expected expression before ‘)’ token
Main.c:12:12: error: lvalue required as left operand of assignment
12 | mon=amount;}
| ^