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_22030430_11105.cpp: In function 'int main()':
0_0_22030430_11105.cpp:27:31: error: no matching function for call to 'max_align_t::max_align_t(int [10100])'
         int ma=max_align_t(sum);  
                               ^
0_0_22030430_11105.cpp:27:31: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/stdint.h:32:0,
                 from GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stdint.h:9,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdint:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:380,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_22030430_11105.cpp:1:
GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stddef.h:426:3: note: max_align_t::max_align_t()
 } max_align_t;
   ^
GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stddef.h:426:3: note:   candidate expects 0 arguments, 1 provided
GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stddef.h:426:3: note: constexpr max_align_t::max_align_t(const max_align_t&)
GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stddef.h:426:3: note:   no known conversion for argument 1 from 'int [10100]' to 'const max_align_t&'
GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stddef.h:426:3: note: constexpr max_align_t::max_align_t(max_align_t&&)
GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stddef.h:426:3: note:   no known conversion for argument 1 from 'int [10100]' to 'max_align_t&&'


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-30 05:56:12, Gzip enabled