Please don't output extra spaces in problem F's output or you might get Presentation Error. Sorry for the inconvenience caused.
QOJ.ac
QOJ
Time Limit:
1 s
Memory Limit:
1024 MB
# 4633. Coprime Matrices
Statistics
The problem was used in the following contest: