結果
| 問題 |
No.2851 Make Pairs
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-08-25 17:26:35 |
| 言語 | Ruby (3.4.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 64 bytes |
| コンパイル時間 | 565 ms |
| コンパイル使用メモリ | 7,296 KB |
| 実行使用メモリ | 35,200 KB |
| 最終ジャッジ日時 | 2024-08-25 17:26:39 |
| 合計ジャッジ時間 | 3,345 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 8 |
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - n Syntax OK
ソースコード
n = gets.to_i
a = gets.split.map &:to_i
p a.tally.sum {_2 / 2}