QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#369931 | #4071. Galactic Collegiate Programming Contest | ZhaoZiLong | Compile Error | / | / | C++98 | 726b | 2024-03-28 19:38:58 | 2024-03-28 19:38:58 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:13:13: error: in C++98 ‘tmp1’ must be initialized by constructor, not by ‘{...}’ 13 | pii tmp,tmp1 = {arr[1],p1}; | ^~~~ answer.code:20:24: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 20 | tmp = {arr[t],p};tmp1 = {arr[1],p1}; | ^ answer.code:20:24: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] answer.code:20:43: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 20 | tmp = {arr[t],p};tmp1 = {arr[1],p1}; | ^ answer.code:20:43: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions]