Problem laptop
User om2024
Submission Time 2024-06-21 13:53:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

laptop.cpp: In function ‘int main()’:
laptop.cpp:9:3: error: expected ‘,’ or ‘;’ before ‘int’
9 | int arr[c];
| ^~~
laptop.cpp:12:22: error: ‘arr’ was not declared in this scope
12 | int size = sizeof(arr) / sizeof(int);
| ^~~
laptop.cpp:18:22: error: ‘arr’ was not declared in this scope
18 | int size = sizeof(arr) / sizeof(int);
| ^~~