Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5415 D班-罗炜翰 十点半 C++ 解答错误 0 32 MS 260 KB 290 2025-02-09 14:46:57

Tests(0/1):


#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"<<endl; } else if (a == e) { cout<<"0"<<endl; } else if (a < e) { cout<<"-1"<<endl; } } }


测评信息: