結果
| 問題 | No.1643 Not Substring |
| コンテスト | |
| ユーザー |
player
|
| 提出日時 | 2023-12-27 23:15:17 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 27 ms / 2,000 ms |
| コード長 | 110 bytes |
| 記録 | |
| コンパイル時間 | 122 ms |
| コンパイル使用メモリ | 85,632 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2026-04-14 10:16:24 |
| 合計ジャッジ時間 | 2,137 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)
player