Problem | simp |
---|---|
User | ToiletBrIcker |
Submission Time | 2024-06-19 11:03:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
simp.cpp: In function ‘int main()’:
simp.cpp:3:2: error: expected initializer before ‘std’
3 | std::cin >> N >> ai >> aj >> bi >> bj >> ci >> cj;
| ^~~
simp.cpp:5:18: error: ‘cj’ was not declared in this scope; did you mean ‘ci’?
5 | if (bj < aj && cj < aj){
| ^~
| ci
simp.cpp:6:9: error: ‘cout’ is not a member of ‘std’
6 | std::cout << "Yes";
| ^~~~
simp.cpp:1:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | int main(){
simp.cpp:7:3: error: expected ‘}’ before ‘else’
7 | else if (bj > aj && cj > aj){
| ^~~~
simp.cpp:5:26: note: to match this ‘{’
5 | if (bj < aj && cj < aj){
| ^
simp.cpp:8:9: error: ‘cout’ is not a member of ‘st