結果

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

ソースコード

diff #

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

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

  print(i, b)
  exit()

print(-1)
0