Free Contest 16 - SIBICE

View as PDF

Submit solution

Points: 0.50 (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
    kevinknguyen  commented on May 9, 2025, 9:26 a.m.

    code nè import mathN, W, H = map(int, input().split())diagonal = math.sqrt(W2 + H2)for _ in range(N): length = int(input()) if length <= diagonal: print("DA")else:print("NE")


  • 0
    kevinknguyen  commented on May 9, 2025, 9:22 a.m.

    hơi dễ á