結果

問題 No.1729 ~サンプルはちゃんと見て!~ 16進数と8進数(1)
ユーザー tamato
提出日時 2021-11-05 21:38:40
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 245 bytes
コンパイル時間 210 ms
コンパイル使用メモリ 82,584 KB
実行使用メモリ 54,432 KB
最終ジャッジ日時 2024-11-06 12:24:06
合計ジャッジ時間 1,964 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9 WA * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 1000000007
eps = 10**-9


def main():
    import sys
    input = sys.stdin.readline

    N = input().rstrip('\n')
    if len(set(N)) == 1:
        print(1, ord(N[0]) - 63)
    else:
        print(1)


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