Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
HELP!!!!这是为什么错的呢???????#include<iostream> #include<cmath> using namespace std; void main() { int n; cin>>n; cout<<endl; int *a=new int[n]; for(int i=0;i<n;i++) cin>>a[i]; cout<<endl; for(i=0;i<n;i++) if(a[i]<=100&&a[i]>=5) cout<<int(sqrt(a[i]))<<endl; } Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator