Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
51368 lhylhy 【基础题】正负数 C++ Accepted 1 MS 268 KB 192 2023-07-13 16:02:53

Tests(4/4):


Code:

#include <iostream> #include <cstring> using namespace std; int main(){ int a; cin >> a; if(a>=0){ cout << '+'; } if(a<0){ cout << '-'; } return 0; }