QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#430701#3476. 3D Printed StatuesZhaoZiLongCompile Error//C++11474b2024-06-04 09:34:572024-06-04 09:34:58

详细

answer.code: In function ‘int main(int, char**)’:
answer.code:24:23: error: ‘log10’ was not declared in this scope
   24 |         cout << ceil((log10(n) / log10(2))) + 1 << endl;
      |                       ^~~~~
answer.code:24:17: error: ‘ceil’ was not declared in this scope
   24 |         cout << ceil((log10(n) / log10(2))) + 1 << endl;
      |                 ^~~~