結果
| 問題 |
No.5 数字のブロック
|
| コンテスト | |
| ユーザー |
urutom
|
| 提出日時 | 2016-04-29 02:03:25 |
| 言語 | Ruby (3.4.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 59 bytes |
| コンパイル時間 | 280 ms |
| コンパイル使用メモリ | 7,296 KB |
| 実行使用メモリ | 12,928 KB |
| 最終ジャッジ日時 | 2024-10-04 17:33:59 |
| 合計ジャッジ時間 | 3,978 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 34 |
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - n Syntax OK
ソースコード
l,n,*w=gets(p).split.map(&:to_i)
p w.sort.count{|k|l-=k>=0}
urutom