Problem | lunchbox |
---|---|
User | lebronjames2024 |
Submission Time | 2025-03-26 16:21:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp:4:3: error: invalid preprocessing directive #Read
4 | # Read the values of N and m
| ^~~~
lunchbox.cpp:7:3: error: invalid preprocessing directive #Populate
7 | # Populate the boxes
| ^~~~~~~~
lunchbox.cpp:12:3: error: invalid preprocessing directive #Sort
12 | # Sort the boxes in ascending order (small to large)
| ^~~~
lunchbox.cpp:18:3: error: invalid preprocessing directive #Count
18 | # Count how many boxes can fit within N
| ^~~~~
lunchbox.cpp:24:16: error: stray ‘#’ in program
24 | break # Stop if adding the next box would exceed N
| ^
lunchbox.cpp:1:1: error: ‘instring’ does not name a type
1 | instring = input()
| ^~~~~~~~