Submission #34468


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include<bits/stdc++.h>
#define REP(i,n) for(long long i=0;i<n;++i)
#define FOR(i,a,b) for(long long i=a;i<b;++i)
using namespace std;
typedef long long ll;
typedef pair< int,int > point;
int main(){
int s1,t1,s2,t2;
scanf("%d%d%d%d",&s1,&t1,&s2,&t2);
if(t1<s2||t2<s1){
puts("No");
}else{
puts("Yes");
}
return 0;
}

ステータス

項目 データ
問題 0925 - 野菜だいきらいの会
ユーザー名 Wonder /*ei1741*/
投稿日時 2018-05-01 18:40:02
言語 C++17
状態 Accepted
得点 1
ソースコード長 376 Byte
最大実行時間 30 ms
最大メモリ使用量 728 KB

セット

セット 得点 Cases
1 ALL 1 / 1 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input-sample01 AC 24 ms 480 KB
1
input-sample02 AC 21 ms 456 KB
1
input-sample03 AC 24 ms 432 KB
1
input-sample04 AC 24 ms 540 KB
1
input01 AC 19 ms 644 KB
1
input02 AC 21 ms 620 KB
1
input03 AC 24 ms 592 KB
1
input04 AC 22 ms 568 KB
1
input05 AC 20 ms 412 KB
1
input06 AC 22 ms 644 KB
1
input07 AC 25 ms 620 KB
1
input08 AC 25 ms 728 KB
1
input09 AC 30 ms 572 KB
1
input10 AC 26 ms 548 KB
1
input11 AC 24 ms 528 KB
1
input12 AC 24 ms 500 KB
1
input13 AC 25 ms 480 KB
1
input14 AC 23 ms 576 KB
1
input15 AC 23 ms 680 KB
1
input16 AC 18 ms 652 KB
1