結果
問題 | No.544 Delete 7 |
ユーザー | bellangeldindon |
提出日時 | 2017-08-04 09:41:51 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 12 ms / 1,000 ms |
コード長 | 198 bytes |
コンパイル時間 | 407 ms |
コンパイル使用メモリ | 6,784 KB |
実行使用メモリ | 6,272 KB |
最終ジャッジ日時 | 2024-11-21 16:25:01 |
合計ジャッジ時間 | 2,201 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 48 |
ソースコード
s = raw_input() a = [] x = '' for i in range(0, len(s)): if s[i] == '7': a.append('1') else: a.append('0') for i in range(0, len(s)): x = x + a[i] print str(int(s)-int(x)) + ' ' + str(int(x))