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_37752365_11103.cpp:26:38: error: array must be initialized with a brace-enclosed initializer
     array<long long, 2> f1{-inf, -inf};
                                      ^
0_0_37752365_11103.cpp:26:38: error: too many initializers for 'std::__debug::array<long long int, 2ull>'
0_0_37752365_11103.cpp:28:53: error: array must be initialized with a brace-enclosed initializer
     array<long long, 4> f2 = {-inf, -inf, -inf, -inf};
                                                     ^
0_0_37752365_11103.cpp:28:53: error: too many initializers for 'std::__debug::array<long long int, 4ull>'
0_0_37752365_11103.cpp:30:53: error: array must be initialized with a brace-enclosed initializer
     array<long long, 4> f3 = {-inf, -inf, -inf, -inf};
                                                     ^
0_0_37752365_11103.cpp:30:53: error: too many initializers for 'std::__debug::array<long long int, 4ull>'
0_0_37752365_11103.cpp:32:38: error: array must be initialized with a brace-enclosed initializer
     array<long long, 2> f4{-inf, -inf};
                                      ^
0_0_37752365_11103.cpp:32:38: error: too many initializers for 'std::__debug::array<long long int, 2ull>'


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-29 02:30:04, Gzip enabled