Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
50559 杨宜炜 【基础题】正负数 C++ Accepted 1 MS 272 KB 142 2023-07-12 14:18:57

Tests(4/4):


Code:

#include<iostream> using namespace std; int main(){ int a; cin>>a; if(a>-1){ cout<<"+"; }else{ cout<<"-"; } }