6 条题解
-
1
#include<bits/stdc++.h> using namespace std; long long q,w,e,r,t,y,u,i,o,p,d,f,g,h,j,k,l,z,x,c,v,b,n,m; string s; long long a[100000],as[100000],asd[100000]; char cc; double dd; int main() { cin>>x; if(x>0) cout<<"positive"; if(x==0) cout<<"zero"; if(x<0) cout<<"negative"; return 0; }
-
0
#include<iostream> #include<cstdio> using namespace std; int n; int main(){ cin>>n; if(n>0) printf("positive\n"); if(n==0) printf("zero\n"); if(n<0) printf("negative\n"); return 0; }
- 1
信息
- ID
- 6847
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 1
- 标签
- (无)
- 递交数
- 63
- 已通过
- 46
- 上传者