結果
| 問題 | No.8101 砂嵐 |
| コンテスト | |
| ユーザー |
harurun
|
| 提出日時 | 2023-03-20 23:25:53 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 263 bytes |
| 記録 | |
| コンパイル時間 | 553 ms |
| コンパイル使用メモリ | 89,088 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-06-30 00:51:51 |
| 合計ジャッジ時間 | 2,425 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 62 |
ソースコード
#pragma GCC optimize("O0")
#include <iostream>
using namespace std;
using ll=long long;
int main(){
ll N;
cin>>N;
ll x=N;
ll ans=0;
while(x>=10){
ll t=1;
while(x>0){
t*=x%10;
x/=10;
}
x=t;
ans++;
}
cout<<ans<<endl;
}
harurun