結果
| 問題 | No.544 Delete 7 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-02-05 16:33:08 |
| 言語 | Python3 (3.15.2 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
TLE
不安定
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 304 bytes |
| 記録 | |
| コンパイル時間 | 53 ms |
| コンパイル使用メモリ | 14,720 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2026-11-24 15:31:49 |
| 合計ジャッジ時間 | 7,810 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 48 TLE * 1 |
ソースコード
import random
MAX = int(1e8)
def exists_seven(v):
s = str(v)
for c in s:
if c == '7': return True
return False
N = int(input())
while True:
a = random.randint(0, MAX)
b = N - a
if (exists_seven(a)): continue
if (exists_seven(b)): continue
print(a, b)
break