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_39702850_25.cpp: In function 'int main()':
0_0_39702850_25.cpp:33:111: error: invalid initialization of reference of type 'const std::vector<int>&' from expression of type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
   33 |         current = addLargeNumbers(current, addLargeNumbers(prev4[0], addLargeNumbers(prev4[1], addLargeNumbers(prev4[2], prev4[3]))));
      |                                                                                                ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
0_0_39702850_25.cpp:11:48: note: in passing argument 1 of 'std::vector<int> addLargeNumbers(const std::vector<int>&, const std::vector<int>&)'
   11 | vector<int> addLargeNumbers(const vector<int>& a, const vector<int>& b) {
      |                             ~~~~~~~~~~~~~~~~~~~^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-26 09:01:51, Gzip enabled