結果
| 問題 |
No.374 コイン
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-01-31 09:54:13 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 257 bytes |
| コンパイル時間 | 88 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-12-23 22:03:29 |
| 合計ジャッジ時間 | 2,010 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 WA * 11 |
ソースコード
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import math
def f():
a, b = map(int,input().split())
if(a < b): return "K"
elif(a == b): return "S"
a *= a
b *= b
if(math.ceil(a / b) % 2 == 0): return "K"
return "S"
print(f())