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 |
编译错误#include <stdio.h> #define pi 3.141592653 int main() { float x; float y; int n,m; scanf("%f",&n); m=1; while(m++<=n) { scanf("%f%f",&x,&y); for(int i=0;x*x+y*y>100*i/pi;i++); printf("Property %d: This property will begin eroding in year %d. \n",i,m-1); } printf("END OF OUTPUT."); return 0; } 不对?编译错误? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator