結果
| 問題 |
No.3028 No.9999
|
| コンテスト | |
| ユーザー |
nikoro256
|
| 提出日時 | 2025-02-21 21:46:36 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 756 ms / 4,000 ms |
| コード長 | 145 bytes |
| コンパイル時間 | 154 ms |
| コンパイル使用メモリ | 82,216 KB |
| 実行使用メモリ | 59,588 KB |
| 最終ジャッジ日時 | 2025-02-21 21:46:43 |
| 合計ジャッジ時間 | 4,053 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 23 |
ソースコード
N=int(input())
t=10
if (t-1)%N==0:
print(1)
exit()
c=1
while True:
if t==1:
print(c)
exit()
t=(t*10)%N
c+=1
nikoro256