Borderou de evaluare (job #2552509)
Raport evaluator
Compilare:
main.cpp: In constructor 'Node::Node(bool, int, int)':
main.cpp:6:7: warning: 'Node::ok' will be initialized after [-Wreorder]
bool ok;
^~
main.cpp:5:11: warning: 'int Node::val' [-Wreorder]
int mxv, val;
^~~
main.cpp:10:2: warning: when initialized here [-Wreorder]
Node (bool _ok = false, int _val = 0, int _mxv = 0) : ok(_ok), val(_val), mxv(_mxv) {}
^~~~
main.cpp:5:11: warning: 'Node::val' will be initialized after [-Wreorder]
int mxv, val;
^~~
main.cpp:5:6: warning: 'int Node::mxv' [-Wreorder]
int mxv, val;
^~~
main.cpp:10:2: warning: when initialized here [-Wreorder]
Node (bool _ok = false, int _val = 0, int _mxv = 0) : ok(_ok), val(_val), mxv(_mxv) {}
^~~~
main.cpp: In function 'void update(Node*, std::__cxx11::string&, int, int)':
main.cpp:32:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (p == str.length()) {
~~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:62:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("fbsearch.in", "r", stdin);
^
main.cpp:63:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("fbsearch.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 988ms | 131088kb | Memory limit exceeded | 0 |
Punctaj total | 0 |