結果
| 問題 |
No.1801 Segment Game
|
| コンテスト | |
| ユーザー |
prussian_coder
|
| 提出日時 | 2022-01-15 20:09:47 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 313 ms / 2,000 ms |
| コード長 | 169 bytes |
| コンパイル時間 | 1,437 ms |
| コンパイル使用メモリ | 82,120 KB |
| 実行使用メモリ | 76,892 KB |
| 最終ジャッジ日時 | 2024-11-22 00:04:22 |
| 合計ジャッジ時間 | 4,581 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 10 |
ソースコード
N=int(input())
for _ in range(N):
a,b,c=map(int,input().split())
if min(a**2 + (b%2)**2,b**2 + (a%2)**2) <= c**2:
print("N")
else:
print("S")
prussian_coder