結果

問題 No.1643 Not Substring
ユーザー OR6107
提出日時 2021-08-13 21:39:15
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 36 ms / 2,000 ms
コード長 138 bytes
コンパイル時間 413 ms
コンパイル使用メモリ 82,400 KB
実行使用メモリ 53,212 KB
最終ジャッジ日時 2024-10-03 21:41:19
合計ジャッジ時間 2,138 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()
ans = ""
s = sorted(s)
for i in range(len(s)):
  if s[i] == "a":
    ans += "a"
    continue
  else:
    break
print(ans+"a")
0