Submit solution
Points:
6.00 (partial)
Time limit:
1.0s
Memory limit:
256M
Input:
change.inp
Output:
change.out
Author:
Problem source:
Problem type
Allowed languages
C, C#, C++, Go, Java, JavaScript, Kotlin, Pascal, Perl, PHP, PyPy, Python, Ruby, Rust, Scratch, Swift
In case the statement didn't load correctly, you can download the statement here: Statement
Comments
đề bài bảo 1 <= N <= 1000 mà test 4 dùng int bị TLE =)))))) ai dùng c++ thì đổi thành long long nhé
khi làm các bài khác thì bắt buộc phải dùng long long chứ, chứ mấy tác giả dễ quay xe lắm =)))