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_38469867_4911.cpp: In function 'void solve()':
0_0_38469867_4911.cpp:11:23: error: no matching function for call to 'std::array<int, 24ull>::array(int)'
     array<int,24> a(24);
                       ^
0_0_38469867_4911.cpp:11:23: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/functional:55,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
                 from 0_0_38469867_4911.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: std::array<int, 24ull>::array()
     struct array
            ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:   candidate expects 0 arguments, 1 provided
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: constexpr std::array<int, 24ull>::array(const std::array<int, 24ull>&)
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:   no known conversion for argument 1 from 'int' to 'const std::array<int, 24ull>&'
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: constexpr std::array<int, 24ull>::array(std::array<int, 24ull>&&)
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:   no known conversion for argument 1 from 'int' to 'std::array<int, 24ull>&&'


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-07-02 23:09:45, Gzip enabled