結果
問題 | No.175 simpleDNA |
ユーザー |
![]() |
提出日時 | 2015-04-19 20:43:58 |
言語 | Ruby (3.4.1) |
結果 |
AC
|
実行時間 | 88 ms / 1,000 ms |
コード長 | 120 bytes |
コンパイル時間 | 38 ms |
コンパイル使用メモリ | 7,552 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-07-04 18:07:02 |
合計ジャッジ時間 | 1,405 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
コンパイルメッセージ
Main.rb:3: warning: assigned but unused variable - s Syntax OK
ソースコード
l=gets.to_in=gets.to_is=gets.splitif l==3 thenputs nelseputs ['A','B'].repeated_permutation(l-3).size * nend