运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
118914 | 黄一肯 | 1443 - 这是非常难的中等简单题 | 编译错误 | 0 | 0 MS | 0 KB | C++ | 1317 | 3年前 |
Main.cc: In function ‘void divide(long long int, long long int)’:
Main.cc:25:28: error: ‘sqrt’ was not declared in this scope
25 | for(long long i = 2; i <= sqrt(nn); i++)
| ^~~~
Main.cc: In function ‘int main()’:
Main.cc:43:9: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
43 | freopen("data.txt", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~