結果

問題 No.47 ポケットを叩くとビスケットが2倍
ユーザー gon_027
提出日時 2018-09-12 23:27:28
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
TLE  
実行時間 -
コード長 330 bytes
コンパイル時間 403 ms
コンパイル使用メモリ 53,728 KB
実行使用メモリ 8,320 KB
最終ジャッジ日時 2024-06-28 02:05:54
合計ジャッジ時間 12,855 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample -- * 3
other TLE * 1 -- * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
using namespace std;

#define p(x) cout << x << endl;
#define el cout << endl;

int main(){
    cin.tie(0);
    ios::sync_with_stdio(false);

    int n;
    cin >> n;

    int biscuit = 1;
    int count = 0;

    while(biscuit < n){
        count += 1;
    }
    
    cout << count << endl;
}
0