結果
| 問題 |
No.544 Delete 7
|
| コンテスト | |
| ユーザー |
👑 Kazun
|
| 提出日時 | 2020-10-03 04:04:34 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 41 ms / 1,000 ms |
| コード長 | 219 bytes |
| コンパイル時間 | 165 ms |
| コンパイル使用メモリ | 82,168 KB |
| 実行使用メモリ | 52,352 KB |
| 最終ジャッジ日時 | 2024-07-18 04:03:13 |
| 合計ジャッジ時間 | 4,137 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 48 |
ソースコード
N=[int(s) for s in input()]
A=[]
B=[]
for s in N:
if s==7:
A.append(6)
B.append(1)
else:
A.append(s)
B.append(0)
A=int("".join(map(str,A)))
B=int("".join(map(str,B)))
print(A,B)
Kazun