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.";
^