結果
| 問題 | 
                            No.3028 No.9999
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2025-03-07 00:13:46 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                TLE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 249 bytes | 
| コンパイル時間 | 444 ms | 
| コンパイル使用メモリ | 12,160 KB | 
| 実行使用メモリ | 18,848 KB | 
| 最終ジャッジ日時 | 2025-03-07 00:13:53 | 
| 合計ジャッジ時間 | 6,793 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 9 TLE * 1 -- * 13 | 
ソースコード
def main():
    inp = int(input())
    k = 0
    loop_flg = True 
 
    while loop_flg:
        k += 1
        num = 10 ** k - 1
        if num % inp == 0:
            loop_flg = False
        
    print(k)
    
if __name__ == '__main__':
    main()