結果

問題 No.1942 Leading zero
ユーザー noriocnorioc
提出日時 2022-05-20 21:38:58
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 77 ms / 2,000 ms
コード長 113 bytes
コンパイル時間 947 ms
コンパイル使用メモリ 11,740 KB
実行使用メモリ 10,084 KB
最終ジャッジ日時 2023-10-20 12:02:42
合計ジャッジ時間 1,293 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

N = int(input())
for _ in range(N):
    S = input().lstrip('0')
    if len(S) == 0:
        S = '0'
    print(S)
0