結果
問題 |
No.2766 Delicious Multiply Spice
|
ユーザー |
|
提出日時 | 2024-06-07 18:55:20 |
言語 | Ruby (3.4.1) |
結果 |
MLE
|
実行時間 | - |
コード長 | 242 bytes |
コンパイル時間 | 59 ms |
コンパイル使用メモリ | 7,296 KB |
実行使用メモリ | 520,320 KB |
最終ジャッジ日時 | 2024-12-26 03:16:32 |
合計ジャッジ時間 | 61,251 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 8 |
other | AC * 12 TLE * 18 MLE * 1 |
コンパイルメッセージ
Syntax OK
ソースコード
N = gets.to_i tasties = [nil, ""] taste = 1 while taste <= N if (order = tasties[taste]) if taste == N puts order exit end tasties[2*taste+1] = order + "A" tasties[3*taste+1] = order + "B" end taste += 1 end