QOJ.ac

QOJ

Time Limit: 1 s Memory Limit: 512 MB

# 5421. Factories Once More

Statistics