結果

問題 No.1942 Leading zero
ユーザー ああいいああいい
提出日時 2022-05-20 21:24:55
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 105 ms / 2,000 ms
コード長 127 bytes
コンパイル時間 175 ms
コンパイル使用メモリ 81,760 KB
実行使用メモリ 76,196 KB
最終ジャッジ日時 2023-10-20 11:39:55
合計ジャッジ時間 857 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

N = int(input())

for _ in range(N):
    S = input()
    i = 0
    while i < 4 and S[i] == "0":
        i += 1
    print(S[i:])
0