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_9627694_28329.cpp: In function `int main()':
0_0_9627694_28329.cpp:52: error: no match for 'operator=' in 'temp = v[i]'
0_0_9627694_28329.cpp:16: note: candidates are: date& date::operator=(const date&)
0_0_9627694_28329.cpp:53: error: no matching function for call to `std::vector<date, std::allocator<date> >::push_back(int)'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_vector.h:557: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = date, _Alloc = std::allocator<date>]
0_0_9627694_28329.cpp:61: error: no match for 'operator=' in 'temp = v[i]'
0_0_9627694_28329.cpp:16: note: candidates are: date& date::operator=(const date&)
0_0_9627694_28329.cpp:62: error: no match for 'operator=' in 'temp = v[j]'
0_0_9627694_28329.cpp:16: note: candidates are: date& date::operator=(const date&)
0_0_9627694_28329.cpp:63: error: no match for 'operator=' in 'temp = v[k]'
0_0_9627694_28329.cpp:16: note: candidates are: date& date::operator=(const date&)
0_0_9627694_28329.cpp:64: error: no match for 'operator=' in 'temp = v[l]'
0_0_9627694_28329.cpp:16: note: candidates are: date& date::operator=(const date&)
0_0_9627694_28329.cpp:65: error: no matching function for call to `std::vector<date, std::allocator<date> >::push_back(int&)'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_vector.h:557: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = date, _Alloc = std::allocator<date>]
0_0_9627694_28329.cpp:73: error: no match for 'operator=' in 'temp = v[i]'
0_0_9627694_28329.cpp:16: note: candidates are: date& date::operator=(const date&)
0_0_9627694_28329.cpp:74: error: no match for 'operator=' in 'temp = v[j]'
0_0_9627694_28329.cpp:16: note: candidates are: date& date::operator=(const date&)
0_0_9627694_28329.cpp:75: error: no match for 'operator=' in 'temp = v[k]'
0_0_9627694_28329.cpp:16: note: candidates are: date& date::operator=(const date&)
0_0_9627694_28329.cpp:76: error: no match for 'operator=' in 'temp = v[l]'
0_0_9627694_28329.cpp:16: note: candidates are: date& date::operator=(const date&)
0_0_9627694_28329.cpp:84: error: no match for 'operator=' in 'temp = v[i]'
0_0_9627694_28329.cpp:16: note: candidates are: date& date::operator=(const date&)
0_0_9627694_28329.cpp:85: error: no match for 'operator=' in 'temp = v[j]'
0_0_9627694_28329.cpp:16: note: candidates are: date& date::operator=(const date&)
0_0_9627694_28329.cpp:94: error: no match for 'operator+' in 'v[i] + v[j]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_bvector.h:261: note: candidates are: std::_Bit_iterator std::operator+(ptrdiff_t, const std::_Bit_iterator&)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_bvector.h:345: note:                 std::_Bit_const_iterator std::operator+(ptrdiff_t, const std::_Bit_const_iterator&)
0_0_9627694_28329.cpp:97: error: expected primary-expression before '}' token
0_0_9627694_28329.cpp:97: error: expected `;' before '}' token


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-10-06 19:18:31, Gzip enabled