社区讨论
编译警告???
P1020[NOIP 1999 提高组] 导弹拦截参与者 3已保存回复 3
讨论操作
快速查看讨论及其快照的属性,并进行相关操作。
- 当前回复
- 3 条
- 当前快照
- 1 份
- 快照标识符
- @mi6yazf1
- 此快照首次捕获于
- 2025/11/20 12:48 4 个月前
- 此快照最后确认于
- 2025/11/20 12:48 4 个月前
为啥会有编译警告??
CPP/tmp/tmpmao03kpt/src: 在函数‘int main()’中: /tmp/tmpmao03kpt/src:9:2: 警告:this ‘while’ clause does not guard... [-Wmisleading-indentation] while(scanf("%d",&a[++n])!=EOF)continue;n--; ^~~~~ /tmp/tmpmao03kpt/src:9:42: 附注:...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’ while(scanf("%d",&a[++n])!=EOF)continue;n--; ^
回复
共 3 条回复,欢迎继续交流。
正在加载回复...