| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 72936 | 黄枳润 | 15求n!>m | C++ | Compile Error | 0 MS | 0 KB | 140 | 2024-05-14 18:50:23 |
#include<iostream> using namespace std; int main() { int n=0,m; while(n!>m){ n++; } return 0; }
Main.cc: In function 'int main()':
Main.cc:6:12: error: expected ')' before '!' token
while(n!>m){
^
Main.cc:6:13: error: expected primary-expression before '>' token
while(n!>m){
^
Main.cc:6:13: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]