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_24041480_13983.cpp: In function 'void Solve(int, int)':
0_0_24041480_13983.cpp:133:75: error: invalid initialization of non-const reference of type 'vi& {aka std::vector<int>&}' from an rvalue of type 'vi {aka std::vector<int>}'
     auto res = Multiply(vi(dp + l, dp + mid + 1), vi(a + 1, a + r - l + 2));
                                                                           ^
0_0_24041480_13983.cpp:103:5: note: in passing argument 1 of 'vll Multiply(vi&, vi&)'
 vll Multiply(vi & a, vi& b) {
     ^


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-29 12:22:27, Gzip enabled