Problem | guessproblem2 |
---|---|
User | Elnathan |
Submission Time | 2023-09-03 14:08:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
guessproblem2.cpp:1:2: error: stray ‘#’ in program
1 | a#include <iostream>
| ^
guessproblem2.cpp:1:1: error: ‘a’ does not name a type
1 | a#include <iostream>
| ^
guessproblem2.cpp: In function ‘int main()’:
guessproblem2.cpp:7:5: error: ‘ios_base’ has not been declared
7 | ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
| ^~~~~~~~
guessproblem2.cpp:7:39: error: ‘cin’ was not declared in this scope
7 | ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
| ^~~
guessproblem2.cpp:3:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
2 | #include <unistd.h>
+++ |+#include <iostream>
3 |
guessproblem2.cpp:7:54: error: ‘cout’ was not declared in this scope
7 | ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL