結果
| 問題 |
No.374 コイン
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-07-28 13:15:17 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 224 bytes |
| コンパイル時間 | 97 ms |
| コンパイル使用メモリ | 12,288 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-07-02 15:00:49 |
| 合計ジャッジ時間 | 2,128 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 30 WA * 1 |
ソースコード
from math import floor
A, B = map(int, input().split())
if B > A:
print('K')
elif A >= B > A/3:
print('S')
else:
limit = floor(A**2 / B**2)
if limit % 2 == 0:
print('K')
else:
print('S')