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_16351415_22152.cpp: In function 'int main()':
0_0_16351415_22152.cpp:73:38: error: invalid initialization of non-const reference of type 'LL& {aka long long int&}' from an rvalue of type 'LL {aka long long int}'
             add(ans,dp[ct-1][j][0][0]+dp[ct-1][j][0][1]);
                                      ^
0_0_16351415_22152.cpp:8:1: note: in passing argument 2 of 'int add(LL&, LL&)'
 add(LL &x,LL &y){
 ^


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-28 10:24:17, Gzip enabled