| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 149471 | 赖泓宇 | 14经过路口 | C++ | Compile Error | 0 MS | 0 KB | 390 | 2026-03-13 18:40:15 |
#include <iostream> using namespace std; int main() { double money = 100000.0; int count = 0; while (true) { if (money > 50000) { money -= money * 0.05; } else { if (money < 5000) { break; } money -= 5000; } count++; } cout << count << endl; return 0;
Main.cc: In function 'int main()':
Main.cc:19:13: error: expected '}' at end of input
return 0;
^