結果

問題 No.1643 Not Substring
ユーザー sgswsgsw
提出日時 2021-08-13 21:46:58
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 480 bytes
コンパイル時間 172 ms
コンパイル使用メモリ 82,892 KB
実行使用メモリ 53,424 KB
最終ジャッジ日時 2024-04-14 19:42:10
合計ジャッジ時間 2,272 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
53,284 KB
testcase_01 AC 38 ms
52,312 KB
testcase_02 AC 38 ms
52,832 KB
testcase_03 AC 38 ms
52,328 KB
testcase_04 AC 38 ms
52,588 KB
testcase_05 WA -
testcase_06 AC 39 ms
52,256 KB
testcase_07 AC 38 ms
53,124 KB
testcase_08 AC 39 ms
53,324 KB
testcase_09 AC 38 ms
53,280 KB
testcase_10 AC 38 ms
52,128 KB
testcase_11 AC 41 ms
52,984 KB
testcase_12 AC 37 ms
52,808 KB
testcase_13 AC 38 ms
53,136 KB
testcase_14 AC 39 ms
52,192 KB
testcase_15 AC 37 ms
52,752 KB
testcase_16 AC 38 ms
52,328 KB
testcase_17 AC 39 ms
52,092 KB
testcase_18 AC 41 ms
52,744 KB
testcase_19 AC 38 ms
52,468 KB
testcase_20 AC 38 ms
52,032 KB
testcase_21 AC 38 ms
53,252 KB
testcase_22 AC 38 ms
53,068 KB
testcase_23 AC 38 ms
52,532 KB
testcase_24 AC 39 ms
52,528 KB
testcase_25 WA -
testcase_26 AC 37 ms
53,012 KB
testcase_27 AC 37 ms
53,424 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

'''
    Python3(PyPy3) Template for Programming-Contest.

    author : sgsw

    generated : 2021/08/13   
    when : 21:45:24

'''

import sys


def input():
    return sys.stdin.readline().rstrip()


DXY = [(0, -1), (1, 0), (0, 1), (-1, 0)]  # LDRU
mod = 998244353
inf = 1 << 64


def main():
    s = list(input())
    s = list(map(lambda x: ord(x),s))
    m = min(s)
    b = s.count(m)
    c = chr(m)
    print(c * (b + 1))
    return 0


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