結果
問題 | No.915 Plus Or Multiple Operation |
ユーザー |
![]() |
提出日時 | 2025-03-06 08:02:36 |
言語 | PyPy3 (7.3.15) |
結果 |
MLE
|
実行時間 | - |
コード長 | 149 bytes |
コンパイル時間 | 528 ms |
コンパイル使用メモリ | 82,716 KB |
実行使用メモリ | 634,064 KB |
最終ジャッジ日時 | 2025-03-06 08:02:44 |
合計ジャッジ時間 | 7,533 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | -- * 3 |
other | MLE * 1 -- * 9 |
ソースコード
T=int(input()) for _ in range(T): a,b,c=map(int,input().split()) d=[] while a>0: d+=[a%c] a//=c print((len(d)-1+len(d)-d.count(0))*b)