提交时间:2025-03-15 19:45:21

运行 ID: 312882

#include <iostream> #include <cstdio> using namespace std; bool ff; int main() { int a,b,c,d; cin>>a>>b>>c>>d; if (a<=c && b>=d || c<=a && d>=b) ff=true; cout<<ff; return 0; }