結果
問題 | No.280 歯車の問題(1) |
ユーザー |
![]() |
提出日時 | 2015-10-06 21:39:02 |
言語 | Ruby (3.4.1) |
結果 |
AC
|
実行時間 | 85 ms / 1,000 ms |
コード長 | 72 bytes |
コンパイル時間 | 343 ms |
コンパイル使用メモリ | 7,552 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-07-20 01:45:26 |
合計ジャッジ時間 | 5,495 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - n Syntax OK
ソースコード
n = gets.to_i z = gets.split.map(&:to_i) puts "#{z.last} / #{z.first}"