結果
| 問題 | No.1801 Segment Game |
| コンテスト | |
| ユーザー |
kozy
|
| 提出日時 | 2022-01-07 21:57:24 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 236 bytes |
| 記録 | |
| コンパイル時間 | 728 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,356 KB |
| 最終ジャッジ日時 | 2026-05-09 23:47:17 |
| 合計ジャッジ時間 | 5,927 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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