| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 136389 | 张咏灏 | 14经过路口 | C++ | Compile Error | 0 MS | 0 KB | 219 | 2025-11-12 20:06:08 |
#include<bits/stdc++.h> using namespace std; int main(){ int i,n=100000; for(i=1;;i++){ if(n>50000){ n=n-(0.05*n); } else{ n=n-5000; } if(n<5000){ Sleep(500); cout<<i; break; } }
Main.cc: In function 'int main()':
Main.cc:13:11: error: 'Sleep' was not declared in this scope
Sleep(500);
^
Main.cc:17:1: error: expected '}' at end of input
}
^