結果
問題 |
No.544 Delete 7
|
ユーザー |
![]() |
提出日時 | 2017-07-18 16:36:32 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 177 bytes |
コンパイル時間 | 201 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 17,444 KB |
最終ジャッジ日時 | 2024-10-08 10:54:44 |
合計ジャッジ時間 | 3,328 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 2 TLE * 1 -- * 45 |
ソースコード
N = int(input()) Nl = list(str(N)) N0 = 0 N0l = list(str(N0)) while "7" in Nl or "7" in N0l: N = N-3 Nl = list(str(N)) N0 = N0+3 N0l = list(str(N0)) print(N,N0)