結果

問題 No.1801 Segment Game
ユーザー ああいいああいい
提出日時 2022-01-08 17:51:08
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 170 bytes
コンパイル時間 297 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 76,416 KB
最終ジャッジ日時 2024-04-26 21:02:24
合計ジャッジ時間 4,286 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 307 ms
76,032 KB
testcase_02 AC 304 ms
76,288 KB
testcase_03 AC 307 ms
76,416 KB
testcase_04 AC 307 ms
76,032 KB
testcase_05 AC 306 ms
76,160 KB
testcase_06 AC 304 ms
76,160 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 39 ms
51,456 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

T = int(input())
for _ in range(T):
    h,w,d = map(int,input().split())
    if d < h and d < w and d * d < h * h + w * w:
        print('S')
    else:
        print('N')
0