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_22228292_1027.cpp: In function 'int main()':
0_0_22228292_1027.cpp:10:29: error: 'memset' was not declared in this scope
       memset(ch,0,sizeof(ch));
                             ^
0_0_22228292_1027.cpp:11:13: error: expected primary-expression before ';' token
       for(i=;i<=2000;i++)
             ^
0_0_22228292_1027.cpp:13:21: error: expected primary-expression before ';' token
            ch[i][0]=;
                     ^
0_0_22228292_1027.cpp:14:18: error: expected primary-expression before ']' token
            ch[i][]=i%100;
                  ^
0_0_22228292_1027.cpp:16:13: error: expected primary-expression before ';' token
       for(i=;i<=2000;i++)
             ^
0_0_22228292_1027.cpp:17:18: error: expected primary-expression before ';' token
            for(j=;j<=i;j++)
                  ^
0_0_22228292_1027.cpp:19:32: error: expected primary-expression before ']' token
                 ch[i][j]=(ch[i-][j]%100+ch[i-][j-]%100)%100;
                                ^
0_0_22228292_1027.cpp:19:46: error: expected primary-expression before ']' token
                 ch[i][j]=(ch[i-][j]%100+ch[i-][j-]%100)%100;
                                              ^
0_0_22228292_1027.cpp:19:50: error: expected primary-expression before ']' token
                 ch[i][j]=(ch[i-][j]%100+ch[i-][j-]%100)%100;
                                                  ^


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-17 08:35:13, Gzip enabled