結果
問題 | No.687 E869120 and Constructing Array 1 |
ユーザー |
![]() |
提出日時 | 2019-11-01 10:07:50 |
言語 | Ruby (3.4.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 91 bytes |
コンパイル時間 | 57 ms |
コンパイル使用メモリ | 7,424 KB |
実行使用メモリ | 12,288 KB |
最終ジャッジ日時 | 2024-09-14 22:33:06 |
合計ジャッジ時間 | 3,070 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge6 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 6 |
コンパイルメッセージ
Main.rb:1: warning: possibly useless use of a constant in void context Syntax OK
ソースコード
N = gets.to_i; Rputs (1 .. 10).map{|a| N - a <= 10 ? "#{a} #{N - a}" : nil}.find(&:itself)