結果
| 問題 | No.1801 Segment Game |
| コンテスト | |
| ユーザー |
prussian_coder
|
| 提出日時 | 2022-01-15 20:09:47 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 194 ms / 2,000 ms |
| + 15µs | |
| コード長 | 169 bytes |
| 記録 | |
| コンパイル時間 | 1,707 ms |
| コンパイル使用メモリ | 80,588 KB |
| 実行使用メモリ | 84,200 KB |
| 最終ジャッジ日時 | 2026-09-27 20:39:05 |
| 合計ジャッジ時間 | 5,079 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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