結果
| 問題 | No.1801 Segment Game |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-01-07 22:13:01 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 300 bytes |
| 記録 | |
| コンパイル時間 | 196 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 82,048 KB |
| 最終ジャッジ日時 | 2026-05-09 23:48:04 |
| 合計ジャッジ時間 | 2,038 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 1 WA * 9 |
ソースコード
import sys
input = lambda: sys.stdin.readline().rstrip()
INF = 10 ** 19
from collections import deque
def solve():
h, w, d = map(int,input().split())
x = min(h * h + w * w, d * d)
if x % 2:
print('S')
else:
print('N')
t = int(input())
for _ in range(t):
solve()