結果
| 問題 |
No.2241 Reach 1
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-03-28 11:19:38 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 411 bytes |
| コンパイル時間 | 600 ms |
| コンパイル使用メモリ | 81,208 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-20 02:08:44 |
| 合計ジャッジ時間 | 1,710 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 WA * 23 |
ソースコード
#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=1;
while(n%2==0){
ans=2;
n/=2;
}
if(ans>1) ans++;
cout<<ans<<endl;
return 0;
}