結果

問題 No.1801 Segment Game
ユーザー rlangevinrlangevin
提出日時 2023-02-13 08:49:28
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 195 bytes
コンパイル時間 469 ms
コンパイル使用メモリ 86,984 KB
実行使用メモリ 78,928 KB
最終ジャッジ日時 2023-09-23 09:24:17
合計ジャッジ時間 7,165 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,040 KB
testcase_01 AC 343 ms
78,696 KB
testcase_02 AC 348 ms
78,588 KB
testcase_03 AC 341 ms
78,892 KB
testcase_04 AC 339 ms
78,696 KB
testcase_05 AC 341 ms
78,776 KB
testcase_06 AC 339 ms
78,660 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 347 ms
78,552 KB
testcase_10 AC 73 ms
71,104 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

T = int(input())
for i in range(T):
    H, W, D = map(int, input().split())
    if H > W:
        H, W = W, H
    if D ** 2 >= H ** 2 + (H%2) ** 2:
        print("N")
    else:
        print("S")
0