Problem | boxispull |
---|---|
User | Ski3r3n |
Submission Time | 2023-04-20 14:54:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
boxispull.cpp: In lambda function:
boxispull.cpp:7:31: error: expected ‘{’ before ‘,’ token
7 | pair<int, int> start = {[amt], [amt]};
| ^
boxispull.cpp: In lambda function:
boxispull.cpp:7:38: error: expected ‘{’ before ‘}’ token
7 | pair<int, int> start = {[amt], [amt]};
| ^
boxispull.cpp: In function ‘int main()’:
boxispull.cpp:7:38: error: could not convert ‘{<lambda closure object>main()::<lambda()>{amt}, <lambda closure object>main()::<lambda()>{amt}}’ from ‘<brace-enclosed initializer list>’ to ‘std::pair<int, int>’
boxispull.cpp: In lambda function:
boxispull.cpp:8:29: error: expected ‘{’ before ‘,’ token
8 | pair<int, int> end = {[amt], [amt]}
| ^
boxispull.cpp: In lambda function:
boxispull.cpp:8:36: error: expected ‘{’ before ‘}’ token
8 | pair