Problem laptop
User yhmixeI
Submission Time 2024-06-21 15:54:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

laptop.cpp: In function ‘int main()’:
laptop.cpp:28:3: error: incompatible types in assignment of ‘int’ to ‘int [y]’
28 | o=0;
| ^
laptop.cpp:31:13: error: expected ‘;’ before ‘c’
31 | p[c] = a[i]
| ^
| ;
32 | c++;
| ~
laptop.cpp:35:5: error: invalid types ‘int [w][int [y]]’ for array subscript
35 | p[o] = a[i]
| ^