Submit solution
Points:
0.60 (partial)
Time limit:
3.0s
Memory limit:
1G
Input:
stdin
Output:
stdout
Problem source:
Problem type
Allowed languages
C, C++, Go, Java, Kotlin, Pascal, PyPy, Python, Rust, Scratch
In case the statement didn't load correctly, you can download the statement here: Statement
Lưu ý: Đọc/ghi dữ liệu từ stdin và stdout (đầu vào/ra chuẩn).
Comments
Minh duoc bao la khi lam bai nay cac ban nen de so ki tu da duoc hoan thanh truoc hai cai dong va cot. Vi du nhu i,j,c thi chuyen thanh c,i,j. Nhu vay se qua duoc test cuoi.
Link giải thích: https://stackoverflow.com/questions/9936132/why-does-the-order-of-the-loops-affect-performance-when-iterating-over-a-2d-arra
trick sieu lo
Code mình dùng loang TLE test cuối, có thuật toán nào tối ưu không ạ? mình cảm ơn
Bài tương tự