結果
| 問題 | No.687 E869120 and Constructing Array 1 |
| コンテスト | |
| ユーザー |
TANIGUCHI Kousuke
|
| 提出日時 | 2019-11-01 10:07:50 |
| 言語 | Ruby (4.0.2) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 91 bytes |
| 記録 | |
| コンパイル時間 | 270 ms |
| コンパイル使用メモリ | 9,216 KB |
| 実行使用メモリ | 22,400 KB |
| 最終ジャッジ日時 | 2026-04-04 15:31:44 |
| 合計ジャッジ時間 | 2,841 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge5_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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; R
puts (1 .. 10).map{|a| N - a <= 10 ? "#{a} #{N - a}" : nil}.find(&:itself)
TANIGUCHI Kousuke