/ Vijos /

记录详情

Compile Error

foo.cpp:1:1: error: 'include' does not name a type
 include<iostream> include<math.h>
 ^
foo.cpp: In function 'int main()':
foo.cpp:7:1: error: 'cin' was not declared in this scope
 cin>>p>>q;
 ^
foo.cpp:11:43: error: 'floor' was not declared in this scope
 x=floor((double)i*(double)(p/100)+0.000001);//+-0.000001考虑为整数的情况
                                           ^
foo.cpp:14:1: error: 'cout' was not declared in this scope
 cout<<i;
 ^

信息

递交者
类型
递交
题目
P1041 神风堂人数
语言
C++
递交时间
2015-04-22 18:22:34
评测时间
2015-04-22 18:22:36
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes