| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 146063 | 周润泽 | 11大象喝水 | C++ | Compile Error | 0 MS | 0 KB | 178 | 2026-01-25 20:27:32 |
#include <iostream> #include <cmath> using namespace std; int main() { int h, r; cin >> h >> r; int num_buckets = ceil(20000 / volume); cout << num_buckets << endl; return 0; }
Main.cc:2:21: warning: extra tokens at end of #include directive
#include #include using namespace std; int main() { int h, r; cin >> h >> r; int num_buckets = ceil(20000 / volume); cout << num_buckets << endl; return 0; }
^
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status