Free Contest 134 - MAXMOD
View as PDF
Submit solution
Points:
0.70 (partial)
Time limit:
1.0s
Memory limit:
512M
Problem type
Allowed languages
C, C++, Go, Java, Kotlin, Pascal, PyPy, Python, Rust, Scratch
Comments
This comment is hidden due to too much negative feedback. Show it anyway.
n = 9 thì sao x lại là 5 nhỉ đáng lẽ x = 4 chứ nhỉ 9%5 < 9%4 mà
9 mod 5 = 4 9 mod 4 = 1 mà oông
????
????
This comment is hidden due to too much negative feedback. Show it anyway.
orz them lua chon
ví dụ bài này có sai không vậy chứ với x<n thì n%x lớn nhất với n = 6 là x = 5 chứ?
với n=6 thì 6%5=1 còn 6%4 = 2 nên output là 4 đúng r nhé
This comment is hidden due to too much negative feedback. Show it anyway.
This comment is hidden due to too much negative feedback. Show it anyway.