結果
問題 |
No.1801 Segment Game
|
ユーザー |
![]() |
提出日時 | 2022-01-07 22:16:15 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 747 ms / 2,000 ms |
コード長 | 236 bytes |
コンパイル時間 | 505 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-11-14 11:51:10 |
合計ジャッジ時間 | 7,966 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 10 |
ソースコード
T=int(input()) for i in range(T): H,W,D=map(int,input().split()) if H%2==0 and D>=W: print("N") continue if W%2==0 and D>=H: print("N") continue if (min(H,W)**2 +1)<=D**2: print("N") continue print("S")