結果

問題 No.477 MVP
ユーザー KenzoKenzo
提出日時 2017-02-09 22:52:58
言語 Ruby
(3.2.2)
結果
AC  
実行時間 79 ms / 1,000 ms
コード長 53 bytes
コンパイル時間 306 ms
コンパイル使用メモリ 11,288 KB
実行使用メモリ 15,336 KB
最終ジャッジ日時 2023-08-26 22:56:57
合計ジャッジ時間 2,069 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
15,068 KB
testcase_01 AC 75 ms
15,176 KB
testcase_02 AC 75 ms
15,076 KB
testcase_03 AC 75 ms
15,220 KB
testcase_04 AC 75 ms
15,108 KB
testcase_05 AC 74 ms
15,100 KB
testcase_06 AC 75 ms
15,336 KB
testcase_07 AC 75 ms
15,064 KB
testcase_08 AC 75 ms
15,228 KB
testcase_09 AC 75 ms
15,068 KB
testcase_10 AC 75 ms
15,112 KB
testcase_11 AC 75 ms
15,252 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n,m = gets().split(" ")
a=  (n.to_i/(m.to_i+1))+1
p a
0