Free Contest 35 - RATIONAL

View as PDF

Submit solution

Points: 0.97 (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.



  • 0
    jammyjunior  commented on Feb. 10, 2026, 10:29 a.m. edit 2
    1. lay input.
    2. backtrack tim duong di ban dau trong binary tree (dua theo du lieu de bai).
    3. tu duong di, su dung toan hoc de suy ra vi tri.
    4. Good luck!