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_33805420_32371.cpp:113:1: error: 'll' does not name a type
 ll b[maxn];
 ^
0_0_33805420_32371.cpp:114:1: error: 'll' does not name a type
 ll f[maxn][maxn], g[maxn][maxn];
 ^
0_0_33805420_32371.cpp: In function 'int main()':
0_0_33805420_32371.cpp:125:37: error: 'b' was not declared in this scope
   for (int i = 2; i <= n; i++) read(b[i]);
                                     ^
0_0_33805420_32371.cpp:131:41: error: 'f' was not declared in this scope
             for (int j = 0; j <= n; j++)f[i][j] = g[i][j] = 0;
                                         ^
0_0_33805420_32371.cpp:131:51: error: 'g' was not declared in this scope
             for (int j = 0; j <= n; j++)f[i][j] = g[i][j] = 0;
                                                   ^
0_0_33805420_32371.cpp:133:9: error: 'f' was not declared in this scope
         f[1][1] = 1;
         ^
0_0_33805420_32371.cpp:142:21: error: 'b' was not declared in this scope
                 if (b[i] == 0)
                     ^
0_0_33805420_32371.cpp:144:21: error: 'g' was not declared in this scope
                     g[i][j + 1] += f[i - 1][j];        //g[i][j + 1] %= mod;
                     ^
0_0_33805420_32371.cpp:149:21: error: 'g' was not declared in this scope
                     g[i][j] += f[i - 1][j];      // g[i][j] %= mod;
                     ^
0_0_33805420_32371.cpp:154:17: error: 'b' was not declared in this scope
             if (b[i] == 0)
                 ^
0_0_33805420_32371.cpp:161:32: error: 'g' was not declared in this scope
                     f[i][j] += g[i][j];         // f[i][j] %= mod;
                                ^
0_0_33805420_32371.cpp:170:32: error: 'g' was not declared in this scope
                     f[i][j] += g[i][j];            //  f[i][j] %= mod;
                                ^


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-25 01:59:39, Gzip enabled