結果
| 問題 |
No.8033 Test of Russian
|
| コンテスト | |
| ユーザー |
007p99lupin
|
| 提出日時 | 2018-04-02 00:42:37 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 372 bytes |
| コンパイル時間 | 396 ms |
| コンパイル使用メモリ | 56,704 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-26 06:23:47 |
| 合計ジャッジ時間 | 865 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 5 WA * 2 |
ソースコード
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
int N,M,X;
cin>>N>>M>>X;
int uso,nokori;
uso = N-M;
if(uso==0){
cout<<"YES"<<endl;
return 0;
}
nokori = N-X;
if((M>=nokori)&&(M>=3)){
cout<<"YES"<<endl;
}
else if(nokori<=2){
cout<<"NO"<<endl;
}
else{
cout<<"NO"<<endl;
}
return 0;
}
007p99lupin