Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
117822 包老师 07判断正负数 C++ Accepted 1 MS 272 KB 280 2025-04-20 13:10:11

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std;//命名空间 分号是英文分号 int main(){ //if-else // if(条件表达式){ // 代码块1 // } // else{ // 代码块2 // } int a; cin>>a; if(a>0){ cout<<"YES"; }else{ cout<<"NO"; } return 0; }