結果
| 問題 |
No.1232 2^x = x
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-09-26 00:04:38 |
| 言語 | Ruby (3.4.1) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 50 bytes |
| コンパイル時間 | 206 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 12,416 KB |
| 最終ジャッジ日時 | 2024-06-28 08:26:16 |
| 合計ジャッジ時間 | 1,304 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 1 |
| other | RE * 3 |
コンパイルメッセージ
Main.rb:1: warning: `*' interpreted as argument prefix Syntax OK
ソースコード
gets;p *ARGF.lines.map{|_|n=_.to_i;n<3?2:(n-1)**2}