結果
| 問題 | No.544 Delete 7 |
| コンテスト | |
| ユーザー |
bellangeldindon
|
| 提出日時 | 2017-08-04 09:41:51 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
不安定
|
| 実行時間 | 62 ms / 1,000 ms |
| + 224µs | |
| コード長 | 198 bytes |
| 記録 | |
| コンパイル時間 | 424 ms |
| コンパイル使用メモリ | 62,576 KB |
| 実行使用メモリ | 62,436 KB |
| 最終ジャッジ日時 | 2026-11-24 15:29:02 |
| 合計ジャッジ時間 | 6,003 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 49 |
ソースコード
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))
bellangeldindon