結果
| 問題 | No.388 階段 (1) |
| コンテスト | |
| ユーザー |
dashi_dragons
|
| 提出日時 | 2017-02-09 17:17:32 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 21 ms / 2,000 ms |
| + 306µs | |
| コード長 | 314 bytes |
| 記録 | |
| コンパイル時間 | 53 ms |
| コンパイル使用メモリ | 14,848 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2026-10-08 01:51:19 |
| 合計ジャッジ時間 | 1,560 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
import sys
def cal(S,F):
if S < 0 or S > 456:
print("S is not filled with the condition")
sys.exit()
elif F < 1 or F > 123:
print("F is not filled with the condition")
sys.exit()
else:
return S / F + 1
data = input()
S = int(data.split(' ')[0])
F = int(data.split(' ')[1])
print(int(cal(S,F)))
dashi_dragons