/ Vijos /

记录详情

Compile Error

foo.cpp:1:1: error: 'include' does not name a type
 include<iostream> include<cmath>
 ^
foo.cpp: In function 'int find(qu)':
foo.cpp:35:23: error: 'pow' was not declared in this scope
 k += (int)pow(2, i - 1);
                       ^
foo.cpp: In function 'int main()':
foo.cpp:75:1: error: 'cin' was not declared in this scope
 cin >> n >> m;
 ^
foo.cpp:80:22: error: 'pow' was not declared in this scope
 if(used[(int)pow(2, n) - 1])
                      ^
foo.cpp:81:1: error: 'cout' was not declared in this scope
 cout << cnt;
 ^
foo.cpp:82:6: error: 'cout' was not declared in this scope
 else cout << "The patient will be dead.";
      ^

信息

递交者
类型
递交
题目
P1026 毒药?解药?
语言
C++
递交时间
2016-05-04 10:11:56
评测时间
2016-05-04 10:11:57
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes