結果
問題 | No.897 compαctree |
ユーザー |
![]() |
提出日時 | 2019-10-10 23:30:48 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 159 bytes |
コンパイル時間 | 258 ms |
コンパイル使用メモリ | 82,296 KB |
実行使用メモリ | 110,552 KB |
最終ジャッジ日時 | 2024-11-22 03:19:07 |
合計ジャッジ時間 | 10,548 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 10 TLE * 3 |
ソースコード
N = int(input()) for i in range(N) : a,b = map(int,input().split()) c = 0 while a > 0 : a -= b ** c c += 1 print(c-1)