Problem | bracketex |
---|---|
User | NuggetsAreNice |
Submission Time | 2025-02-27 16:18:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bracketex.cpp: In function ‘int main()’:
bracketex.cpp:25:2: error: ‘cin’ was not declared in this scope
25 | cin >> s;
| ^~~
bracketex.cpp:3:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
2 | #include <unordered_map>
+++ |+#include <iostream>
3 | #include <string>
bracketex.cpp:27:3: error: ‘cout’ was not declared in this scope
27 | cout << "Invalid";
| ^~~~
bracketex.cpp:27:3: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
bracketex.cpp:29:3: error: ‘cout’ was not declared in this scope
29 | cout << "Valid";
| ^~~~
bracketex.cpp:29:3: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?