結果
| 問題 |
No.544 Delete 7
|
| コンテスト | |
| ユーザー |
takakin
|
| 提出日時 | 2020-04-30 21:45:00 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 32 ms / 1,000 ms |
| コード長 | 186 bytes |
| コンパイル時間 | 176 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-12-17 18:44:35 |
| 合計ジャッジ時間 | 4,002 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 48 |
ソースコード
import sys
input=lambda: sys.stdin.readline().rstrip()
N=input()
a,b="",""
for n in N:
if n=="7":
a+="1"
b+="6"
else:
a+=n
if b!="":
b+="0"
print(int(a),int(b))
takakin