結果

問題 No.835 ジュース
ユーザー zGb6E2aZRz6qwu9zGb6E2aZRz6qwu9
提出日時 2019-06-20 15:16:56
言語 C
(gcc 12.3.0)
結果
TLE  
実行時間 -
コード長 203 bytes
コンパイル時間 158 ms
コンパイル使用メモリ 27,160 KB
実行使用メモリ 10,488 KB
最終ジャッジ日時 2023-08-22 16:36:49
合計ジャッジ時間 6,665 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 -- -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
int main(void){
    double water=0,M=0,a,b=1;
    scanf("%d",&a);
    water=a*1.5;
    b=water-1;
    M++;
    while(b<1){
       b=water-1;
       M++;
    }
    printf("%d",M);
    
}
0