結果
問題 | No.218 経験値1.5倍 |
ユーザー |
![]() |
提出日時 | 2017-02-06 21:26:32 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 166 bytes |
コンパイル時間 | 3,018 ms |
コンパイル使用メモリ | 156,580 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-24 08:21:43 |
合計ジャッジ時間 | 3,503 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 18 WA * 13 |
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:6:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6 | scanf("%d%d%d",&a,&b,&c); | ~~~~~^~~~~~~~~~~~~~~~~~~
ソースコード
#include <bits/stdc++.h>using namespace std;int main(){int a,b,c;scanf("%d%d%d",&a,&b,&c);b=ceil(a/b);c=ceil(a/c);puts(c>b*2/3?"NO":"YES");return 0;}