QOJ.ac
QOJ
QOJ will undergo maintenance on July 5th from 02:00 to 04:00 (UTC +8). The service may be unavailable during this time.
Time Limit:
6 s
Memory Limit:
256 MB
Interactive
# 8699. From Modular to Rational
Statistics
The problem was used in the following contest: