Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
164448 屠思宇 【基础题】正负数 C++ Accepted 1 MS 276 KB 193 2026-11-03 18:54:58

Tests(4/4):


Code:

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