結果
問題 |
No.218 経験値1.5倍
|
ユーザー |
![]() |
提出日時 | 2021-01-15 15:34:58 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 381 bytes |
コンパイル時間 | 1,319 ms |
コンパイル使用メモリ | 28,288 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-26 02:29:41 |
合計ジャッジ時間 | 1,077 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 27 WA * 4 |
ソースコード
#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; }