結果
| 問題 |
No.1643 Not Substring
|
| コンテスト | |
| ユーザー |
horiesiniti
|
| 提出日時 | 2023-07-07 07:14:16 |
| 言語 | Ruby (3.4.1) |
| 結果 |
AC
|
| 実行時間 | 89 ms / 2,000 ms |
| コード長 | 78 bytes |
| コンパイル時間 | 226 ms |
| コンパイル使用メモリ | 7,296 KB |
| 実行使用メモリ | 12,288 KB |
| 最終ジャッジ日時 | 2024-07-21 02:02:22 |
| 合計ジャッジ時間 | 3,962 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 26 |
コンパイルメッセージ
Syntax OK
ソースコード
s=gets.chomp.split("").select{|e| e=='a'}.join("")
ans="a"*(s.size+1)
puts ans
horiesiniti