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_22489021_8718.cpp:1:1: error: 'LL' does not name a type
 LL ans[N],tmp[N];  
 ^
0_0_22489021_8718.cpp: In function 'void Init()':
0_0_22489021_8718.cpp:7:9: error: 'tmp' was not declared in this scope
         tmp[i+t]=i*(3*i-1)/2;  
         ^
0_0_22489021_8718.cpp:8:5: error: 'ans' was not declared in this scope
     ans[0]=1;  
     ^
0_0_22489021_8718.cpp:9:19: error: 'N' was not declared in this scope
     for(int i=1;i<N;i++)  
                   ^
0_0_22489021_8718.cpp:14:16: error: 'tmp' was not declared in this scope
             if(tmp[j+t]<=i)  
                ^
0_0_22489021_8718.cpp:20:28: error: 'MOD' was not declared in this scope
             ans[i]=(ans[i]%MOD+MOD)%MOD;  
                            ^
0_0_22489021_8718.cpp:21:16: error: 'tmp' was not declared in this scope
             if(tmp[t-j]<=i)  
                ^
0_0_22489021_8718.cpp:28:24: error: 'MOD' was not declared in this scope
         ans[i]=(ans[i]%MOD+MOD)%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-12-02 04:44:39, Gzip enabled