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

In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/c++allocator.h:33:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/allocator.h:46,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
                 from 0_0_33398537_18975.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/new_allocator.h: In instantiation of 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = node; _Args = {}; _Tp = node]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc:137:6:   required from 'void std::deque<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {}; _Tp = node; _Alloc = std::allocator<node>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:226:4:   required from 'void std::queue<_Tp, _Sequence>::emplace(_Args&& ...) [with _Args = {}; _Tp = node; _Sequence = std::deque<node, std::allocator<node> >]'
0_0_33398537_18975.cpp:78:21:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/new_allocator.h:120:4: error: no matching function for call to 'node::node()'
  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
    ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/new_allocator.h:120:4: note: candidates are:
0_0_33398537_18975.cpp:8:5: note: node::node(int, int, int, int)
     node(int x, int y, int lefttime, int time)
     ^
0_0_33398537_18975.cpp:8:5: note:   candidate expects 4 arguments, 0 provided
0_0_33398537_18975.cpp:4:7: note: constexpr node::node(const node&)
 class node
       ^
0_0_33398537_18975.cpp:4:7: note:   candidate expects 1 argument, 0 provided
0_0_33398537_18975.cpp:4:7: note: constexpr node::node(node&&)
0_0_33398537_18975.cpp:4:7: note:   candidate expects 1 argument, 0 provided


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-03-13 13:53:56, Gzip enabled