結果
問題 |
No.3186 Big Order
|
ユーザー |
![]() |
提出日時 | 2025-06-22 03:44:26 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 199 bytes |
コンパイル時間 | 399 ms |
コンパイル使用メモリ | 11,904 KB |
実行使用メモリ | 20,352 KB |
最終ジャッジ日時 | 2025-06-22 03:44:31 |
合計ジャッジ時間 | 4,285 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | TLE * 1 -- * 34 |
ソースコード
import math T=int(input()) for _ in range(T): a,b,c=map(int,input().split()) A=1 ans=0 for i in range(1,500): A*=a X=A t=0 while X%c==0: X//=c t+=1 ans=max(ans,t*b//i) print(ans)