Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
5706 | C班-黎耀谦 | 游乐设施 | C++ | 通过 | 100 | 2 MS | 264 KB | 207 | 2025-02-15 16:06:02 |
#include <bits/stdc++.h> using namespace std; int main(){ double a,b; cin>>a>>b; if (a>=60 && b<60 or a<60 &&b>=60) { cout<<"green"<<endl; } else { cout<<"red"<<endl; } return 0; }