結果

問題 No.544 Delete 7
ユーザー work-furukawa
提出日時 2025-04-19 10:55:27
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 156 bytes
コンパイル時間 520 ms
コンパイル使用メモリ 81,980 KB
実行使用メモリ 83,232 KB
最終ジャッジ日時 2025-04-19 10:55:31
合計ジャッジ時間 3,699 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 2 TLE * 1 -- * 45
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
for i in range(1, N//2+1):
  if "7" in str(i):
    continue

  b = N-i
  if "7" in str(b):
    continue

  print(i, b)
  exit()

print(-1)
0