結果

問題 No.1801 Segment Game
ユーザー ytftytft
提出日時 2022-02-14 21:10:17
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 353 ms / 2,000 ms
コード長 146 bytes
コンパイル時間 298 ms
コンパイル使用メモリ 87,024 KB
実行使用メモリ 78,920 KB
最終ジャッジ日時 2023-09-11 16:48:00
合計ジャッジ時間 5,033 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,324 KB
testcase_01 AC 353 ms
78,704 KB
testcase_02 AC 322 ms
78,536 KB
testcase_03 AC 309 ms
78,704 KB
testcase_04 AC 310 ms
78,812 KB
testcase_05 AC 316 ms
78,724 KB
testcase_06 AC 306 ms
78,624 KB
testcase_07 AC 309 ms
78,572 KB
testcase_08 AC 315 ms
78,920 KB
testcase_09 AC 313 ms
78,800 KB
testcase_10 AC 67 ms
71,520 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

T=int(input())
for i in range(T):
	H,W,D=map(int,input().split())
	if H**2+(W%2)**2<=D**2 or W**2+(H%2)**2<=D**2:
		print("N")
	else:
		print("S")
0