結果
問題 |
No.544 Delete 7
|
ユーザー |
![]() |
提出日時 | 2017-08-04 09:40:18 |
言語 | Python2 (2.7.18) |
結果 |
RE
|
実行時間 | - |
コード長 | 192 bytes |
コンパイル時間 | 336 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-11 20:44:45 |
合計ジャッジ時間 | 8,648 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 4 |
other | RE * 48 |
ソースコード
s = raw_input() a = [] x = '' for i in range(0, len(s)): if s[i] == '7': a[i] = '1' else: a[i] = '0' for i in range(0, len(s)): x = x + a[i] print str(int(s)-int(x)) + ' ' + str(int(x))