Problem | simp |
---|---|
User | blob |
Submission Time | 2023-11-20 16:02:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
simp.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include bits/stdc++.h>
| ^~~~
simp.cpp: In function ‘int main()’:
simp.cpp:6:5: error: ‘cin’ was not declared in this scope
6 | cin >> n >> a1 >> a2 >> b1 >> b2 >> c1 >> c2;
| ^~~
simp.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #include bits/stdc++.h>
simp.cpp:10:19: error: ‘i’ was not declared in this scope
10 | if ((b1 + i == c1 && b2 + i == c2) || (b1 + i == c1 && b2 - i == c2) ||
| ^
simp.cpp:15:13: error: break statement not within loop or switch
15 | break;
| ^~~~~
simp.cpp: At global scope:
simp.cpp:18:1: error: expected unqualified-id before ‘if’
18 | if (canMakeHappy() = true){