Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
15291 虞文皓 【基础题】正负数 C++ Accepted 2 MS 720 KB 185 2021-07-13 19:57:58

Tests(4/4):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int a; cin>>a; if(a>=0) cout<<"+"<<endl; else cout<<"-"<<endl; return 0; }