Problem | addition |
---|---|
User | Anonymous1O1 |
Submission Time | 2024-02-12 23:47:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
addition.cpp: In function ‘int main()’:
addition.cpp:6:14: error: expected identifier before numeric constant
6 | std::cout<<[0]+n[1]<<std::endl;
| ^
addition.cpp: In lambda function:
addition.cpp:6:16: error: expected ‘{’ before ‘+’ token
6 | std::cout<<[0]+n[1]<<std::endl;
| ^
addition.cpp: In function ‘int main()’:
addition.cpp:6:16: error: no match for ‘operator+’ (operand types are ‘main()::<lambda()>’ and ‘int’)
6 | std::cout<<[0]+n[1]<<std::endl;