Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
118793 | 李俊博 | 07今天很热 | C++ | Accepted | 1 MS | 276 KB | 305 | 2025-05-10 14:57:07 |
#include<iostream> using namespace std; int main() { /** char a; cin>>a; if(a =='Y'){ cout<<'A'; }else { if(a =='Z'){ cout<<'B'; }else{ cout<<char(a+2); } } **/ int a; cin>>a; if(a>=30) { cout<<"hot"; } else { cout<<"cold"; } return 0; }