結果

問題 No.218 経験値1.5倍
ユーザー miku39kk
提出日時 2017-07-23 18:01:33
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 218 bytes
コンパイル時間 545 ms
コンパイル使用メモリ 54,356 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-09 11:02:32
合計ジャッジ時間 1,510 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 8 WA * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main() {
    int a,b,c;
    cin >> a >> b >> c;
    string ans;
    if(a/b*2 == a/c*3)ans = "YES\n";
    else ans = "NO\n";
    cout << ans;
return 0;
}
0