Compile Error

foo.cc: In function ‘int main()’:
foo.cc:7:15: error: ‘pow’ was not declared in this scope
    7 |         cout<<pow(a,b)<<endl;
      |               ^~~

信息

递交者
类型
递交
题目
P1722 计算x的y次方(power)
语言
C++
递交时间
2026-02-09 13:02:33
评测时间
2026-02-09 13:02:33
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes