結果
問題 |
No.388 階段 (1)
|
ユーザー |
|
提出日時 | 2018-04-12 16:56:07 |
言語 | Ruby (3.4.1) |
結果 |
AC
|
実行時間 | 88 ms / 2,000 ms |
コード長 | 54 bytes |
コンパイル時間 | 126 ms |
コンパイル使用メモリ | 7,424 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-06-26 21:26:40 |
合計ジャッジ時間 | 2,064 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
コンパイルメッセージ
Main.rb:2: warning: `+' after local variable or literal is interpreted as binary operator Main.rb:2: warning: even though it seems like unary operator Syntax OK
ソースコード
a,b=gets.chomp.split(' ').map(&:to_i) puts a/b +1