結果
| 問題 | No.3028 No.9999 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-05-18 12:51:40 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 126 bytes |
| 記録 | |
| コンパイル時間 | 615 ms |
| コンパイル使用メモリ | 20,572 KB |
| 実行使用メモリ | 15,484 KB |
| 最終ジャッジ日時 | 2026-05-18 12:52:24 |
| 合計ジャッジ時間 | 12,957 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 TLE * 1 -- * 5 |
ソースコード
N = int(input())
K = 1
remainder = 9 % N
while remainder != 0:
K += 1
remainder = (remainder * 10 + 9) % N
print(K)