| Problem | lunchbox | 
|---|---|
| User | Anonymous35V | 
| Submission Time | 2023-11-09 11:05:08 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:5:8: error: ‘A’ was not declared in this scope
    5 |  sort (A,A+m);// sort array
      |        ^
lunchbox.cpp:5:12: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
    5 |  sort (A,A+m);// sort array
      |            ^
      |            tm
lunchbox.cpp:7:30: error: ‘N’ was not declared in this scope
    7 |  for (int k=0; k<m && sum <= N; k++;){
      |                              ^
lunchbox.cpp:7:36: error: expected ‘)’ before ‘;’ token
    7 |  for (int k=0; k<m && sum <= N; k++;){
      |      ~                             ^
      |                                    )
lunchbox.cpp:7:37: error: expected primary-expression before ‘)’ token
    7 |  for (int k=0; k<m && sum <= N; k++;){
      |                                     ^
lunchbox.cpp:11:11: error: ‘N’ was not declared in this scope
   11 | }if (sum<=N){
      |