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_39458518_17451.cpp: In function 'void solve()':
0_0_39458518_17451.cpp:14:92: error: 'mod' was not declared in this scope; did you mean 'modf'?
   14 |                                 if(a[i]==a[j]&&a[j]==a[k]) f[i][j][k]=(w[i-1][j-1][k-1]+1)%mod;
      |                                                                                            ^~~
      |                                                                                            modf
0_0_39458518_17451.cpp:15:70: error: 'mod' was not declared in this scope; did you mean 'modf'?
   15 |                                 g[i][j][k]=(g[i-1][j][k]+f[i][j][k])%mod;
      |                                                                      ^~~
      |                                                                      modf


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-09-20 11:34:15, Gzip enabled