Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
118797 张文浩 07今天很热 C++ Accepted 1 MS 272 KB 412 2025-05-10 14:58:38

Tests(2/2):


Code:

#include<bits/stdc++.h> 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>=60){ cout<<"YES"; }else { cout<<"NO"; }**/ int a; cin>>a; if(a>30){ cout<<"hot"; }else { cout<<"cold"; } return 0; }