結果

問題 No.477 MVP
ユーザー jilloperatejilloperate
提出日時 2017-03-19 15:12:50
言語 Ruby
(3.2.2)
結果
WA  
実行時間 -
コード長 51 bytes
コンパイル時間 37 ms
コンパイル使用メモリ 11,404 KB
実行使用メモリ 15,300 KB
最終ジャッジ日時 2023-09-18 07:27:30
合計ジャッジ時間 1,703 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
15,088 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 77 ms
15,104 KB
testcase_06 WA -
testcase_07 AC 76 ms
14,992 KB
testcase_08 WA -
testcase_09 AC 77 ms
15,156 KB
testcase_10 WA -
testcase_11 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - k
Syntax OK

ソースコード

diff #

n, k = gets.chomp.split.map(&:to_i)
puts n / 2 + 1
0