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_20673277_11482.cpp: In function 'int main()':
0_0_20673277_11482.cpp:41:51: error: invalid initialization of reference of type 'int&' from expression of type 'long long int'
     up(ans, cnt[0][i-1][j]*cnt[1][i+1][a[i]^j]%mod);
                                                   ^
0_0_20673277_11482.cpp:9:6: note: in passing argument 1 of 'void up(int&, int)'
 void up(int &u, int v) {u=(u+v)%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-06-26 15:46:47, Gzip enabled