Problem simp
User asbx
Submission Time 2023-11-08 11:26:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

simp.cpp: In function ‘int main()’:
simp.cpp:88:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
88 | cin>>n>>a1>>a2>>b1>>b2>>c1>>c2;
| ^~~
| std::cin
In file included from simp.cpp:42:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
simp.cpp:90:2: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
90 | cout<<NO;
| ^~~~
| std::cout
In file included from simp.cpp:42:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
simp.cpp:90:8: error: ‘NO’ was not declared in this scope
90 | cout<<NO;
| ^~