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_19591204_18495.cpp:3:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std; 
                          ^
0_0_19591204_18495.cpp: In function 'void c()':
0_0_19591204_18495.cpp:8:2: error: 'nbsp' was not declared in this scope
     for(int i=0;i<=maxn;i++)
  ^
0_0_19591204_18495.cpp:10:53: error: 'i' was not declared in this scope
          c1[i]=1;
                                                     ^
0_0_19591204_18495.cpp:17:98: error: 'i' was not declared in this scope
                for(int j=0;i+j<=maxn;j+=k)
                                                                                                  ^
0_0_19591204_18495.cpp:17:111: error: 'k' was not declared in this scope
                for(int j=0;i+j<=maxn;j+=k)
                                                                                                               ^
0_0_19591204_18495.cpp:19:119: error: 'i' was not declared in this scope
                     c2[i+j]+=c1[i];//此时c2[i+j]等于c1[i+j];
                                                                                                                       ^
0_0_19591204_18495.cpp:19:121: error: 'j' was not declared in this scope
                     c2[i+j]+=c1[i];//此时c2[i+j]等于c1[i+j];
                                                                                                                         ^
0_0_19591204_18495.cpp:25:89: error: 'i' was not declared in this scope
                c1[i]=c2[i];//把最新的值赋给c1数组
                                                                                         ^
0_0_19591204_18495.cpp: In function 'int main()':
0_0_19591204_18495.cpp:32:2: error: 'nbsp' was not declared in this scope
     int n;
  ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 06:32:46, Gzip enabled