| Problem | robots |
|---|---|
| User | StormyGood |
| Submission Time | 2026-01-25 14:44:50 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
robots.cpp: In function ‘int putaway(int, int, int, int*, int*, int*, int*)’:
robots.cpp:12:12: error: request for member ‘begin’ in ‘weak’, which is of non-class type ‘int [A]’
12 | sort(weak.begin(),weak.end());
| ^~~~~
robots.cpp:12:25: error: request for member ‘end’ in ‘weak’, which is of non-class type ‘int [A]’
12 | sort(weak.begin(),weak.end());
| ^~~
robots.cpp:13:13: error: request for member ‘begin’ in ‘small’, which is of non-class type ‘int [B]’
13 | sort(small.begin(),small.end());
| ^~~~~
robots.cpp:13:27: error: request for member ‘end’ in ‘small’, which is of non-class type ‘int [B]’
13 | sort(small.begin(),small.end());
| ^~~
robots.cpp:15:12: error: request for member ‘empty’ in ‘weak’, which is of non-class type ‘int [A]’
15 | if (!weak.empty()) maxx = weak.back();
| ^~~~~
robots.cpp:15: