結果

問題 No.1643 Not Substring
ユーザー kimiyukikimiyuki
提出日時 2021-08-13 22:36:35
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 318 bytes
コンパイル時間 194 ms
コンパイル使用メモリ 82,560 KB
実行使用メモリ 53,752 KB
最終ジャッジ日時 2024-04-14 19:48:17
合計ジャッジ時間 2,273 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
53,084 KB
testcase_01 AC 37 ms
52,676 KB
testcase_02 AC 37 ms
51,872 KB
testcase_03 AC 37 ms
52,884 KB
testcase_04 AC 37 ms
51,996 KB
testcase_05 AC 36 ms
53,344 KB
testcase_06 AC 36 ms
52,940 KB
testcase_07 AC 36 ms
52,436 KB
testcase_08 AC 37 ms
53,352 KB
testcase_09 AC 36 ms
52,888 KB
testcase_10 AC 38 ms
52,372 KB
testcase_11 AC 37 ms
53,532 KB
testcase_12 AC 37 ms
53,676 KB
testcase_13 AC 37 ms
53,616 KB
testcase_14 AC 37 ms
52,956 KB
testcase_15 AC 38 ms
52,364 KB
testcase_16 AC 38 ms
53,748 KB
testcase_17 AC 37 ms
53,752 KB
testcase_18 AC 37 ms
52,544 KB
testcase_19 AC 37 ms
52,128 KB
testcase_20 AC 38 ms
52,964 KB
testcase_21 AC 36 ms
52,752 KB
testcase_22 AC 37 ms
53,316 KB
testcase_23 AC 37 ms
52,204 KB
testcase_24 AC 38 ms
52,532 KB
testcase_25 AC 37 ms
53,028 KB
testcase_26 AC 36 ms
52,200 KB
testcase_27 AC 37 ms
52,432 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3
# from typing import *
import itertools

def solve(s: str) -> str:
    return 'a' * (s.count('a') + 1)


# generated by oj-template v4.8.0 (https://github.com/online-judge-tools/template-generator)
def main():
    S = input()
    a = solve(S)
    print(a)


if __name__ == '__main__':
    main()
0