2019年09月26日01時47分11秒に更新されたバージョンを表示しています.
最新のページはこちらをご覧ください.
Codeforces Round #587 DIV3 C問題
Problem description
省略
省略
C++に変換後のコードはこちら
//no-unlocked
{
int x1, x2, y1, y2;
int x3, x4, y3, y4;
rd(x1,y1,x2,y2);
rep(2){
rd(x3,y3,x4,y4);
if(x3 <= x1 <= x2 <= x4){
if(y3 <= y1) y1 >?= y4;
if(y4 >= y2) y2 <?= y3;
}
if(y3 <= y1 <= y2 <= y4){
if(x3 <= x1) x1 >?= x4;
if(x4 >= x2) x2 <?= x3;
}
if(x1 >= x2 || y1 >= y2) wt("NO"), return 0;
}
wt("YES");
}
Current time: 2023年05月30日09時49分39秒
Last modified: 2019年09月26日01時47分11秒 (by laycrs)
Tags: Competitive_Programming_Incomplete Codeforces CF587 CF_Div3_C
トップページに戻る
Logged in as: unknown user (not login)