結果

問題 No.1942 Leading zero
ユーザー n_nan_na
提出日時 2022-05-21 11:38:29
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 77 ms / 2,000 ms
コード長 162 bytes
コンパイル時間 394 ms
コンパイル使用メモリ 81,792 KB
実行使用メモリ 73,948 KB
最終ジャッジ日時 2023-10-20 15:51:25
合計ジャッジ時間 904 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
53,160 KB
testcase_01 AC 37 ms
53,160 KB
testcase_02 AC 77 ms
73,948 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

for _ in range(N):
    s = list(input())
    s.reverse()
    val = 0
    for i in range(5):
        val += int(s[i])*(10**i)
    print(val)
    
0