Problem | laptop |
---|---|
User | Adam |
Submission Time | 2024-06-21 15:22:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
laptop.cpp: In function ‘int main()’:
laptop.cpp:8:5: error: expected ‘;’ before ‘M’
8 | cin M >> N >> T >> C;
| ^~
| ;
laptop.cpp: In lambda function:
laptop.cpp:18:9: error: expected ‘{’ before ‘[’ token
18 | if([N][C]<=M){
| ^
laptop.cpp: In function ‘int main()’:
laptop.cpp:18:9: error: no match for ‘operator[]’ (operand types are ‘main()::<lambda()>’ and ‘int’)
laptop.cpp: In lambda function:
laptop.cpp:26:9: error: expected ‘{’ before ‘[’ token
26 | if([N][C]<=M){
| ^
laptop.cpp: In function ‘int main()’:
laptop.cpp:26:9: error: no match for ‘operator[]’ (operand types are ‘main()::<lambda()>’ and ‘int’)