Submission #00021
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | //#include<bits/stdc++.h> #include <iostream> #include <cstdio> #include <cstring> #include <string> #include <vector> #include <queue> #include <map> #include <algorithm> #include <utility> #include <climits> #define REP(i, n) for(int i = 0; i < n; ++i) #define FOR(i, a, b) for(int i = a; i < b; ++i) #define F first #define S second #define OUT(x) cout << x << "\n" using namespace std; using point = pair< int , int >; using ll = long long ; int main() { int a, b, c, d; cin >> a >> b >> c >> d; if (a > d || b < c) { OUT( "No" ); } else { OUT( "Yes" ); } return 0; } |
ステータス
項目 | データ |
---|---|
問題 | 0002 - 野菜だいきらいの会 |
ユーザー名 | Wonder /*ei1741*/ |
投稿日時 | 2019-05-27 17:02:49 |
言語 | C++14 |
状態 | Accepted |
得点 | 1 |
ソースコード長 | 640 Byte |
最大実行時間 | 29 ms |
最大メモリ使用量 | 668 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 1 / 1 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
input-sample01 | AC | 20 ms | 476 KB |
1
|
input-sample02 | AC | 21 ms | 452 KB |
1
|
input-sample03 | AC | 22 ms | 552 KB |
1
|
input-sample04 | AC | 16 ms | 524 KB |
1
|
input01 | AC | 29 ms | 620 KB |
1
|
input02 | AC | 25 ms | 464 KB |
1
|
input03 | AC | 19 ms | 568 KB |
1
|
input04 | AC | 16 ms | 540 KB |
1
|
input05 | AC | 21 ms | 636 KB |
1
|
input06 | AC | 21 ms | 600 KB |
1
|
input07 | AC | 21 ms | 568 KB |
1
|
input08 | AC | 21 ms | 668 KB |
1
|
input09 | AC | 26 ms | 640 KB |
1
|
input10 | AC | 17 ms | 616 KB |
1
|
input11 | AC | 22 ms | 584 KB |
1
|
input12 | AC | 18 ms | 560 KB |
1
|
input13 | AC | 22 ms | 656 KB |
1
|
input14 | AC | 23 ms | 628 KB |
1
|
input15 | AC | 22 ms | 472 KB |
1
|
input16 | AC | 26 ms | 572 KB |
1
|