QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#104831 | #2920. Ultimate Binary Watch | ZhaoZiLong | Compile Error | / | / | C++98 | 8.1kb | 2023-05-12 02:30:26 | 2023-05-12 02:30:30 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:265:30: warning: non-static data member initializers only available with ‘-std=c++11’ or ‘-std=gnu++11’ 265 | node* root = nullptr; | ^~~~~~~ answer.code:265:30: error: ‘nullptr’ was not declared in this scope answer.code: In member function ‘void BST::Push(int)’: answer.code:271:60: error: ‘nullptr’ was not declared in this scope 271 | new_node->Left = new_node->Right = nullptr; | ^~~~~~~ answer.code: In member function ‘int BST::getMax()’: answer.code:306:55: error: ‘nullptr’ was not declared in this scope 306 | while (current_node->Right != nullptr) | ^~~~~~~ answer.code: In member function ‘int BST::getMin()’: answer.code:315:54: error: ‘nullptr’ was not declared in this scope 315 | while (current_node->Left != nullptr) | ^~~~~~~ answer.code: In function ‘void solve()’: answer.code:330:21: error: ‘stoi’ was not declared in this scope; did you mean ‘atoi’? 330 | ll Number = stoi(Digit); | ^~~~ | atoi