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_29849327_13559.cpp:36:10: error: variable or field 'add' declared void
 void add(ll &a, ll b){
          ^
0_0_29849327_13559.cpp:36:10: error: 'll' was not declared in this scope
0_0_29849327_13559.cpp:36:14: error: 'a' was not declared in this scope
 void add(ll &a, ll b){
              ^
0_0_29849327_13559.cpp:36:17: error: 'll' was not declared in this scope
 void add(ll &a, ll b){
                 ^
0_0_29849327_13559.cpp: In function 'void init()':
0_0_29849327_13559.cpp:58:63: error: 'add' was not declared in this scope
     for(int i = 1; i < maxn; i++) add(b2[i], b2[i-1] + i*i%mod),add(b[i], b[i-1]+i);
                                                               ^


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 07:42:04, Gzip enabled