結果
問題 | No.2253 Ignore Subtle Differences |
ユーザー | ace_amuro |
提出日時 | 2023-03-28 11:21:18 |
言語 | C++14 (gcc 12.3.0 + boost 1.83.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 412 bytes |
コンパイル時間 | 1,051 ms |
コンパイル使用メモリ | 80,964 KB |
実行使用メモリ | 14,776 KB |
最終ジャッジ日時 | 2023-10-20 06:34:19 |
合計ジャッジ時間 | 7,919 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge12 |
(要ログイン)
ソースコード
#include<cstdio> #include<cstring> #include<iostream> #include<cmath> #include<ctime> #include<string> #include<algorithm> #include<vector> #include<queue> #include<stack> #include<map> using namespace std; typedef long long LL; const int MR=1e6+10; int main(){ LL n; cin>>n; int ans=0; while(n%2==0){ ans=1; n/=2; } if(ans>1) ans+=2; cout<<ans<<endl; return 0; }