QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#476849 | #8650. Island Hopping | egypt_ioi2024b_05 | Compile Error | / | / | C++20 | 2.4kb | 2024-07-13 21:14:17 | 2024-07-13 21:14:17 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void solve(int, int)’: answer.code:107:40: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ 107 | for(auto&[i,j] : ans)answer({i,j}); | ~~~~~~^~~~~~~ | | | <brace-enclosed initializer list> answer.code:20:17: note: initializing argument 1 of ‘void answer(int, int)’ 20 | void answer(int x,int y); | ~~~~^