Problem | simp |
---|---|
User | kahchun |
Submission Time | 2023-11-08 13:22:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
simp.cpp: In function ‘int main()’:
simp.cpp:2:2: error: ‘ios_base’ has not been declared
2 | ios_base::sync_with_stdio(false);
| ^~~~~~~~
simp.cpp:3:2: error: ‘cin’ was not declared in this scope
3 | cin.tie(NULL);
| ^~~
simp.cpp:3:10: error: ‘NULL’ was not declared in this scope
3 | cin.tie(NULL);
| ^~~~
simp.cpp:1:1: note: ‘NULL’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
+++ |+#include <cstddef>
1 | int main(){
simp.cpp:4:2: error: ‘cout’ was not declared in this scope
4 | cout.tie(NULL);
| ^~~~
simp.cpp:9:113: error: ‘endl’ was not declared in this scope
9 | if ((b1 < a1 && c1 < a1 && b2 < a2 && c2 < a2) || (b1 > a1 && c1 > a1 && b2 > a2 && c2 > a2)) cout << "YES" << endl;
|