Problem | samelength |
---|---|
User | Ski3r3n |
Submission Time | 2023-07-07 16:18:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
samelength.cpp:4:1: error: ‘include’ does not name a type
4 | include namespace std;
| ^~~~~~~
samelength.cpp: In function ‘int main()’:
samelength.cpp:7:2: error: ‘string’ was not declared in this scope
7 | string t (308, '\0');
| ^~~~~~
samelength.cpp:7:2: note: suggested alternatives:
In file included from /usr/include/c++/9/string:39,
from samelength.cpp:2:
/usr/include/c++/9/bits/stringfwd.h:79:33: note: ‘std::string’
79 | typedef basic_string<char> string;
| ^~~~~~
In file included from samelength.cpp:2:
/usr/include/c++/9/string:67:11: note: ‘std::pmr::string’
67 | using string = basic_string<char>;
| ^~~~~~
samelength.cpp:8:2: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
8 | cout << t;
| ^~~~
| std::cout
In file included from samelength.cpp