| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5910 | 季洁 | 十点半 | C++ | Output Limit Exceeded | 0 | 12 MS | 252 KB | 300 | 2020-08-16 09:35:06 |
#include<bits/stdc++.h> using namespace std; int main(){ int k=1; double d1,d2,d3,d4; while(k){ cin>>d1>>d2>>d3>>d4; d1+=d2; d3+=d4; //if(d1>10.5) d1=0; //if(d3>10.5) d3=0; if(d1==d3) cout<<0<<endl; if(d1>d3) cout<<1<<endl; if(d1<d3) cout<<-1<<endl; } return 0; }