結果
| 問題 | 
                            No.3028 No.9999
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2025-03-06 23:30:50 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                RE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 282 bytes | 
| コンパイル時間 | 234 ms | 
| コンパイル使用メモリ | 12,020 KB | 
| 実行使用メモリ | 11,392 KB | 
| 最終ジャッジ日時 | 2025-03-06 23:30:55 | 
| 合計ジャッジ時間 | 4,533 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 13 RE * 10 | 
ソースコード
def main():
    inp = int(input())
    num = ""
    count = 0
    
    loop_flg = True 
 
    while loop_flg:
        num = num + "9"
        count += 1
        if int(num) % inp == 0:
            loop_flg = False
        
    print(count)
    
if __name__ == '__main__':
    main()