結果
| 問題 |
No.175 simpleDNA
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-04-28 12:31:14 |
| 言語 | Ruby (3.4.1) |
| 結果 |
AC
|
| 実行時間 | 77 ms / 1,000 ms |
| コード長 | 77 bytes |
| コンパイル時間 | 77 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 12,416 KB |
| 最終ジャッジ日時 | 2024-10-04 17:15:46 |
| 合計ジャッジ時間 | 1,780 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
コンパイルメッセージ
Main.rb:3: warning: assigned but unused variable - s Syntax OK
ソースコード
l = gets.to_i
n = gets.to_i
s = gets.chomp.split(' ')
puts 2 ** (l - 3) * n