Problem guessproblem4
User AlphanumericUsername
Submission Time 2024-03-31 01:42:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

guessproblem4.cpp: In function ‘const char* solve(int)’:
guessproblem4.cpp:7:3: error: ‘string’ was not declared in this scope
7 | string ans = "segmentree2";
| ^~~~~~
guessproblem4.cpp:7:3: note: suggested alternatives:
In file included from /usr/include/c++/9/iosfwd:39,
from /usr/include/c++/9/ios:38,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from guessproblem4.cpp:5:
/usr/include/c++/9/bits/stringfwd.h:79:33: note: ‘std::string’
79 | typedef basic_string<char> string;
| ^~~~~~
In file included from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/io