Beginner Free Contest 20 - CHESS

View as PDF

Submit solution

Points: 1.54 (partial)
Time limit: 1.0s
Memory limit: 256M

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ác bạn không nhập, xuất dữ liệu bằng file kể cả khi đề bài có yêu cầu. Đọc, ghi dữ liệu được thực hiện ở stdin và stdout.


Comments

Please read the guidelines before commenting.



  • 1
    vuongbankien012  commented on July 17, 2025, 3:36 p.m.

    hint bài này: sử dụng toán học. Code tham khảo:(hãy ac trc khi xem,code mình khá xấu mong các bạn thông cảm) https://ideone.com/kLnxRD