Problem | simp |
---|---|
User | hzy |
Submission Time | 2025-04-12 01:37:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
simp.cpp: In function ‘int main()’:
simp.cpp:10:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
10 | cin >> size >> kai_loc >> pave_loc >> target;
| ^~~
| std::cin
In file included from simp.cpp:2:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
simp.cpp:12:24: error: ‘arctan’ was not declared in this scope; did you mean ‘atan’?
12 | double quadrant_kai = arctan(kai_loc[1] / kai_loc[1]);
| ^~~~~~
| atan
simp.cpp:18:2: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
18 | cout << (quad_kai == quad_pave ? "YES" : "NO");
| ^~~~
| std::cout
In file included from simp.cpp:2:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern