/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:4:7: error: 'cin' was not declared in this scope
 while(cin>>m>>n)
       ^~~
/in/foo.cc:9:24: error: 'pow' was not declared in this scope
 sum-=pow(double(i)/m, n);
                        ^
/in/foo.cc:11:21: error: 'printf' was not declared in this scope
 printf("%.4f\n", sum);
                     ^

信息

递交者
类型
递交
题目
P1919 最有活力的鲜花
语言
C++
递交时间
2019-03-12 16:33:34
评测时间
2019-03-12 16:33:34
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes