Problem laptop
User Adam
Submission Time 2024-06-21 15:59:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

laptop.cpp: In function ‘int main()’:
laptop.cpp:18:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
18 | if(arr[N][C]>=M){
| ^
laptop.cpp:26:16: error: incompatible types in assignment of ‘int’ to ‘std::string [C]’ {aka ‘std::__cxx11::basic_string<char> [C]’}
26 | if(arr[N][C]=M){
| ^