Beginner Free Contest 40 - KMEMORY
View as PDF
Submit solution
Points:
0.20 (partial)
Time limit:
1.0s
Memory limit:
512M
Problem type
Allowed languages
C, C++, Go, Java, Kotlin, Pascal, PyPy, Python, Rust, Scratch
Comments
sao code mình dự đoán time complexity tệ nhất là O(n * (n + 1)/ 2) mà code mình vẫn accepted vậy
máy vnoi mạnh