結果
問題 | No.388 階段 (1) |
ユーザー |
|
提出日時 | 2016-07-12 08:30:23 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 10 ms / 2,000 ms |
コード長 | 148 bytes |
コンパイル時間 | 396 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 6,528 KB |
最終ジャッジ日時 | 2024-10-14 14:13:46 |
合計ジャッジ時間 | 1,117 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
#coding: utf-8 #yuki_386 import math s,f=map(int,raw_input().split()) res=int(math.ceil(1.000001*s/f)) if s==0: res=1 elif s==f: res=2 print res