結果
問題 | No.8033 Test of Russian |
ユーザー |
|
提出日時 | 2020-06-05 05:11:11 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 370 bytes |
コンパイル時間 | 1,077 ms |
コンパイル使用メモリ | 96,792 KB |
最終ジャッジ日時 | 2025-01-10 21:33:01 |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 7 |
ソースコード
#include <iostream> #include <vector> #include <algorithm> #include <set> #include <numeric> #include <math.h> #include <map> #include <queue> #include <assert.h> using namespace std; typedef long long int ll; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); int n,m,x; cin >> n >> m >> x; if(n-m<=x-3){ printf("YES\n"); }else{ printf("NO\n"); } }