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