結果

問題 No.374 コイン
ユーザー pyt-314pyt-314
提出日時 2023-05-13 20:43:08
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 118 bytes
コンパイル時間 1,069 ms
コンパイル使用メモリ 10,604 KB
実行使用メモリ 7,988 KB
最終ジャッジ日時 2023-08-19 17:42:36
合計ジャッジ時間 2,372 ms
ジャッジサーバーID
(参考情報)
judge10 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,804 KB
testcase_01 AC 15 ms
7,732 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 15 ms
7,872 KB
testcase_06 WA -
testcase_07 AC 15 ms
7,800 KB
testcase_08 AC 15 ms
7,884 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 15 ms
7,732 KB
testcase_12 AC 15 ms
7,840 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 16 ms
7,824 KB
testcase_18 AC 15 ms
7,828 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 16 ms
7,756 KB
testcase_23 WA -
testcase_24 WA -
testcase_25 AC 17 ms
7,900 KB
testcase_26 AC 16 ms
7,788 KB
testcase_27 AC 15 ms
7,800 KB
testcase_28 WA -
testcase_29 WA -
testcase_30 AC 15 ms
7,804 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b = map(int, input().split())
c = a**2 // b**2
if a < b:
    print("K")
else:
    print("S" if c % 2 == 0 else "K")
0