結果

問題 No.1729 ~サンプルはちゃんと見て!~ 16進数と8進数(1)
ユーザー mrngmrng
提出日時 2021-11-20 15:53:15
言語 PyPy3
(7.3.13)
結果
WA  
実行時間 -
コード長 90 bytes
コンパイル時間 870 ms
コンパイル使用メモリ 87,120 KB
実行使用メモリ 71,720 KB
最終ジャッジ日時 2023-09-02 10:35:25
合計ジャッジ時間 4,779 ms
ジャッジサーバーID
(参考情報)
judge13 / judge16
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,288 KB
testcase_01 AC 71 ms
71,608 KB
testcase_02 AC 69 ms
71,384 KB
testcase_03 AC 72 ms
71,308 KB
testcase_04 AC 70 ms
71,332 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 72 ms
71,328 KB
testcase_21 AC 70 ms
71,440 KB
testcase_22 AC 72 ms
71,184 KB
testcase_23 AC 73 ms
71,480 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = input()
if len(set([s for s in n]))==1:
	print(1,ord(n[0])-ord('A')+2)
else:
	print(1)
0