/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:15:39: error: 'sqrt' was not declared in this scope
   int j = (int)(ceil(sqrt(2 * i + 2.25) + 0.5) - 0.999) - 1;
                                       ^
/in/foo.cc:15:46: error: 'ceil' was not declared in this scope
   int j = (int)(ceil(sqrt(2 * i + 2.25) + 0.5) - 0.999) - 1;
                                              ^

信息

递交者
类型
递交
题目
P1073 4-Hanoi-Tower
语言
C++
递交时间
2019-04-11 17:50:25
评测时间
2019-04-11 17:50:25
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes