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_37758288_32041.cpp:4:7: error: 'MOD' does not name a type
 const MOD=998244353;
       ^
0_0_37758288_32041.cpp:5:7: error: 'S' does not name a type
 const S=233;
       ^
0_0_37758288_32041.cpp: In function 'void up(int&, int)':
0_0_37758288_32041.cpp:12:8: error: 'MOD' was not declared in this scope
  a=a+b<MOD?a+b:a+b-MOD;
        ^
0_0_37758288_32041.cpp: In function 'int main()':
0_0_37758288_32041.cpp:25:15: error: 'S' was not declared in this scope
   p[i]=p[i-1]*S;
               ^
0_0_37758288_32041.cpp:38:18: error: 'S' was not declared in this scope
    fb[i]=fb[i-1]*S+b[i];
                  ^
0_0_37758288_32041.cpp:43:18: error: 'S' was not declared in this scope
    fc[i]=fc[i-1]*S+x;
                  ^
0_0_37758288_32041.cpp:79:38: error: 'MOD' was not declared in this scope
        f[i+1][k]=(f[i+1][k]+f[i][j])%MOD;
                                      ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-26 18:32:22, Gzip enabled