提交时间:2025-02-09 14:45:27

运行 ID: 5413

#include<bits/stdc++.h> using namespace std; int main() { int a,b,d,e,f; while(cin>>a>>b>>e>>f) { a = a + b; e = e + f; if (a > e) { cout<<"1"; } else if (a == e) { cout<<"0"; } else if (a < e) { cout<<"-1"; } } }