Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
12258 徐一喆 【基础题】正负数 C++ Accepted 2 MS 716 KB 188 2021-05-20 13:13:31

Tests(4/4):


Code:

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