結果
| 問題 |
No.1942 Leading zero
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-06-24 12:07:01 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 245 bytes |
| コンパイル時間 | 430 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 77,056 KB |
| 最終ジャッジ日時 | 2024-11-08 05:25:45 |
| 合計ジャッジ時間 | 1,296 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | WA * 1 |
ソースコード
import sys
input = lambda: sys.stdin.readline().rstrip()
from collections import deque
# ----------------------- #
n = int(input())
for _ in range(n):
q = deque(list(input()))
while q and q[0] == '0':
q.popleft()
print(''.join(q))