結果

問題 No.218 経験値1.5倍
ユーザー tsuishitsuishi
提出日時 2021-01-15 15:36:16
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 383 bytes
コンパイル時間 99 ms
コンパイル使用メモリ 28,160 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-26 02:37:34
合計ジャッジ時間 985 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
int main(void) {
    unsigned long     a,b,c;
    int rb,rc,rr;
    scanf( "%ld", &a );
    scanf( "%ld", &b );
    scanf( "%ld", &c );
    rb = (a+b-1) / b;
    rr = (rb + rb) / 3;
    //if( rr == 0 ) rr = 1;
    rc = rr * c;
//printf("%d(%d)=>%d\n",rb,rr,rc);
    if ( a <= rc ) {
        printf("YES\n");
    } else {
        printf("NO\n");
    }
	return 0;
}
0