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_33601103_30833.cpp: In function 'std::vector<int> add_Mars_number_output_reversed(const std::vector<int>&, const std::vector<int>&)':
0_0_33601103_30833.cpp:49:31: error: 'crbegin' was not declared in this scope
   for (auto A_iter = crbegin(A), A_end = crend(A), B_iter = crbegin(B),
                               ^
0_0_33601103_30833.cpp:51:18: error: 'A_end' was not declared in this scope
        A_iter != A_end || B_iter != B_end;) {
                  ^
0_0_33601103_30833.cpp:51:27: error: 'B_iter' was not declared in this scope
        A_iter != A_end || B_iter != B_end;) {
                           ^
0_0_33601103_30833.cpp:51:37: error: 'B_end' was not declared in this scope
        A_iter != A_end || B_iter != B_end;) {
                                     ^
0_0_33601103_30833.cpp: In function 'void print_Mars_number_reversed(const std::vector<int>&)':
0_0_33601103_30833.cpp:76:39: error: 'crbegin' was not declared in this scope
   for (auto iter = crbegin(Mars_number) + 1, e = crend(Mars_number); iter != e;
                                       ^
0_0_33601103_30833.cpp:76:78: error: 'e' was not declared in this scope
   for (auto iter = crbegin(Mars_number) + 1, e = crend(Mars_number); iter != e;
                                                                              ^


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-17 01:18:21, Gzip enabled