結果
問題 | No.128 お年玉(1) |
ユーザー |
![]() |
提出日時 | 2017-03-08 21:07:20 |
言語 | Ruby (3.4.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 27 bytes |
コンパイル時間 | 73 ms |
コンパイル使用メモリ | 7,552 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-10-01 10:33:50 |
合計ジャッジ時間 | 2,780 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 21 |
コンパイルメッセージ
Main.rb:1: warning: ambiguous first argument; put parentheses or a space even after `-' operator Syntax OK
ソースコード
eval('%d/%d'%[*$<]).to_f -3