結果

問題 No.544 Delete 7
ユーザー compass19
提出日時 2017-10-01 22:52:57
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 34 ms / 1,000 ms
コード長 153 bytes
コンパイル時間 204 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 11,136 KB
最終ジャッジ日時 2024-11-21 16:34:10
合計ジャッジ時間 4,072 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 48
権限があれば一括ダウンロードができます

ソースコード

diff #

from random import randint
s=str
N=int(input())
while True:
    i=randint(1,N-1)
    j=N-i
    if '7' not in s(i)+s(j):
        print(i,j)
        break
0