結果
| 問題 | No.544 Delete 7 |
| コンテスト | |
| ユーザー |
surprise_tanaka
|
| 提出日時 | 2018-12-03 13:48:37 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 103 ms / 1,000 ms |
| コード長 | 213 bytes |
| 記録 | |
| コンパイル時間 | 520 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,704 KB |
| 最終ジャッジ日時 | 2026-03-22 00:13:38 |
| 合計ジャッジ時間 | 7,683 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 48 |
ソースコード
import random
N = int(input())
while True:
A = random.randint(-N,N)
if "7" in str(A):
continue
B = N - A
if "7" in str(B) or B < -(10**9) or B > 10**9:
continue
break
print(A,B)
surprise_tanaka