Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
5412 | D班-罗炜翰 | 十点半 | C++ | 编译错误 | 0 | 0 MS | 0 KB | 273 | 2025-02-09 14:45:05 |
#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 < e1) { cout<<"-1"; } } }