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 me!帮我看看,我把什么都去掉了,只留下输入,怎么还会RUNTIME ERROR#include <stdio.h> #include<stdlib.h> #include<string.h> typedef struct { double x1,y1,x2,y2; }linear; int main(void) { linear pa[100100]; int n,i,j; while(1) { scanf("%d",&n); if(n==0) break; for(i=0;i<n;i++) scanf("%lf%lf%lf%lf",&(pa[i].x1),&(pa[i].y1),&(pa[i].x2),&(pa[i].y2)); printf(".\n"); } return 0; } Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator