F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_19369441_14703.cpp:2:2: error: expected declaration before '}' token
  }  }  int main() {   int i, n;      memset(a[1],0,MAX*sizeof(int));   a[1][MAX-1]=1;      for (i=2;i<101;i++) // 高坐标存放大数低位     {          memcpy(a[i],a[i-1], MAX  *  sizeof(int));       //h[i]=h[i-1];       multiply(i,4*i-2);                            //h[i]*=(4*i-2);          divide(i,i+1);                               //h[i]/=(i+1);     }  while(cin>>n)  {       for(i=0;i<MAX;i++)     if(a[n][i]){cout<<a[n][i++];break;}    for(;i<MAX;i++)      printf("%4.4ld",a[n][i]); 
  ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-17 07:57:32, Gzip enabled