結果

問題 No.1643 Not Substring
ユーザー kimiyukikimiyuki
提出日時 2021-08-13 22:36:35
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 77 ms / 2,000 ms
コード長 318 bytes
コンパイル時間 352 ms
コンパイル使用メモリ 86,624 KB
実行使用メモリ 71,228 KB
最終ジャッジ日時 2023-07-27 06:39:56
合計ジャッジ時間 3,764 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
70,964 KB
testcase_01 AC 75 ms
71,228 KB
testcase_02 AC 73 ms
71,024 KB
testcase_03 AC 73 ms
70,956 KB
testcase_04 AC 74 ms
71,180 KB
testcase_05 AC 74 ms
71,184 KB
testcase_06 AC 73 ms
70,884 KB
testcase_07 AC 74 ms
71,220 KB
testcase_08 AC 75 ms
70,884 KB
testcase_09 AC 74 ms
70,972 KB
testcase_10 AC 74 ms
70,968 KB
testcase_11 AC 75 ms
71,076 KB
testcase_12 AC 75 ms
71,104 KB
testcase_13 AC 75 ms
71,180 KB
testcase_14 AC 75 ms
70,800 KB
testcase_15 AC 77 ms
70,964 KB
testcase_16 AC 73 ms
70,700 KB
testcase_17 AC 73 ms
70,968 KB
testcase_18 AC 73 ms
70,960 KB
testcase_19 AC 74 ms
71,052 KB
testcase_20 AC 74 ms
71,024 KB
testcase_21 AC 73 ms
70,980 KB
testcase_22 AC 71 ms
71,064 KB
testcase_23 AC 73 ms
70,972 KB
testcase_24 AC 72 ms
70,724 KB
testcase_25 AC 73 ms
70,968 KB
testcase_26 AC 73 ms
71,228 KB
testcase_27 AC 73 ms
70,948 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