Time Limit Memory Limit Input File Output File
1 second 1024 MiB backin.txt backout.txt

If the statement isn't loading correctly, you can open it in a new tab.

Attachments

Solution Templates
Python backpacking.py
Java backpacking.java
C++ backpacking.cpp
C backpacking.c

Problem info