結果
問題 |
No.1643 Not Substring
|
ユーザー |
![]() |
提出日時 | 2023-12-27 23:15:17 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 37 ms / 2,000 ms |
コード長 | 110 bytes |
コンパイル時間 | 289 ms |
コンパイル使用メモリ | 82,292 KB |
実行使用メモリ | 53,680 KB |
最終ジャッジ日時 | 2024-09-27 15:35:47 |
合計ジャッジ時間 | 2,270 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 26 |
ソースコード
s = list(input()) cnt = 0 for i in s: if i == "a": cnt += 1 ans = "a"*(cnt+1) print(ans)