結果

問題 No.1643 Not Substring
ユーザー ansain
提出日時 2021-08-13 22:06:13
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 183 bytes
コンパイル時間 275 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-10-03 21:48:01
合計ジャッジ時間 1,784 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 9 WA * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

def yn(hantei, yes='Yes', no='No'): print(yes if hantei else no)
def p(*args): print(*args)
s=input()
for i in range(1,150):
    if 'a'*i not in s:
        print('a'*i)
        break
0