結果
問題 | No.1942 Leading zero |
ユーザー |
![]() |
提出日時 | 2022-05-20 23:57:48 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 63 ms / 2,000 ms |
コード長 | 240 bytes |
コンパイル時間 | 188 ms |
コンパイル使用メモリ | 82,636 KB |
実行使用メモリ | 72,704 KB |
最終ジャッジ日時 | 2024-09-20 10:23:10 |
合計ジャッジ時間 | 768 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 1 |
ソースコード
import sys input = sys.stdin.readline from collections import * for _ in range(int(input())): S = input()[:-1] for i in range(len(S)): if S[i]!='0': print(S[i:]) break else: print(0)