Time Limit Memory Limit Input File Output File
1.0 second 1024 MiB shopin.txt shopout.txt

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

Attachments

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

Problem info