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_39614797_8388.cpp:20:1: error: expected unqualified-id before '-' token
   20 | -
      | ^
0_0_39614797_8388.cpp: In function 'void dp()':
0_0_39614797_8388.cpp:54:90: error: 'Mod' was not declared in this scope; did you mean 'mod'?
   54 |                                 if((p&pw(i-1))&&(!(mask[i]&p))) f[p][j]+=f[p-pw(i-1)][j],Mod(f[p][j]);
      |                                                                                          ^~~
      |                                                                                          mod
0_0_39614797_8388.cpp: In function 'long long int calc(int, int)':
0_0_39614797_8388.cpp:67:17: error: 'Mod' was not declared in this scope; did you mean 'mod'?
   67 |                 Mod(ret);
      |                 ^~~
      |                 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-29 21:58:01, Gzip enabled