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_11465176_24450.cpp:9: error: `double time[2050]' redeclared as different kind of symbol
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/time.h:85: error: previous declaration of `time_t time(time_t*)'
0_0_11465176_24450.cpp:9: error: declaration of `double time[2050]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/time.h:85: error: conflicts with previous declaration `time_t time(time_t*)'
0_0_11465176_24450.cpp: In function `int main()':
0_0_11465176_24450.cpp:22: error: pointer to a function used in arithmetic
0_0_11465176_24450.cpp:22: error: assignment of read-only location
0_0_11465176_24450.cpp:22: error: cannot convert `double' to `time_t ()(time_t*)' in assignment
0_0_11465176_24450.cpp:23: error: pointer to a function used in arithmetic
0_0_11465176_24450.cpp:23: error: assignment of read-only location
0_0_11465176_24450.cpp:23: error: cannot convert `double' to `time_t ()(time_t*)' in assignment
0_0_11465176_24450.cpp:25: error: pointer to a function used in arithmetic
0_0_11465176_24450.cpp:26: error: pointer to a function used in arithmetic
0_0_11465176_24450.cpp:26: error: invalid operands of types `time_t ()(time_t*)' and `double' to binary `operator*'
0_0_11465176_24450.cpp:29: error: pointer to a function used in arithmetic
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h: In function `void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = time_t (*)(time_t*)]':
0_0_11465176_24450.cpp:25:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2555: error: ISO C++ forbids using pointer to a function in subtraction
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h: In function `void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = time_t (*)(time_t*), _Size = int]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2555:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = time_t (*)(time_t*)]'
0_0_11465176_24450.cpp:25:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2468: error: ISO C++ forbids using pointer to a function in subtraction
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2555:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = time_t (*)(time_t*)]'
0_0_11465176_24450.cpp:25:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2484: error: ISO C++ forbids using pointer to a function in subtraction
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2484: error: pointer to a function used in arithmetic
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2484: error: pointer to a function used in arithmetic
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2555:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = time_t (*)(time_t*)]'
0_0_11465176_24450.cpp:25:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2484: error: invalid cast to function type `time_t ()(time_t*)'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h: In function `void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = time_t (*)(time_t*)]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2556:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = time_t (*)(time_t*)]'
0_0_11465176_24450.cpp:25:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2199: error: ISO C++ forbids using pointer to a function in subtraction
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2201: error: no match for 'operator+' in '__first + std::_S_threshold'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2202: error: no match for 'operator+' in '__first + std::_S_threshold'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h: In function `void std::partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = time_t (*)(time_t*)]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2472:   instantiated from `void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = time_t (*)(time_t*), _Size = int]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2555:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = time_t (*)(time_t*)]'
0_0_11465176_24450.cpp:25:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2275: error: ISO C++ forbids incrementing a pointer of type `time_t (*)(time_t*)'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2277: error: invalid cast to function type `time_t ()(time_t*)'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h: In function `void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = time_t (*)(time_t*)]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2205:   instantiated from `void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = time_t (*)(time_t*)]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2556:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = time_t (*)(time_t*)]'
0_0_11465176_24450.cpp:25:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2115: error: pointer to a function used in arithmetic
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2115: error: ISO C++ forbids incrementing a pointer of type `time_t (*)(time_t*)'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2118: error: invalid initializer
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2121: error: pointer to a function used in arithmetic
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2205:   instantiated from `void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = time_t (*)(time_t*)]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2556:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = time_t (*)(time_t*)]'
0_0_11465176_24450.cpp:25:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2122: error: assignment of read-only location
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2122: error: cannot convert `time_t ()(time_t*)' to `time_t ()(time_t*)' in assignment
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h: In function `void std::make_heap(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = time_t (*)(time_t*)]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2274:   instantiated from `void std::partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = time_t (*)(time_t*)]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2472:   instantiated from `void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = time_t (*)(time_t*), _Size = int]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2555:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = time_t (*)(time_t*)]'
0_0_11465176_24450.cpp:25:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h:357: error: ISO C++ forbids using pointer to a function in subtraction
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h:360: error: ISO C++ forbids using pointer to a function in subtraction
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h:364: error: pointer to a function used in arithmetic
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h:364: error: invalid cast to function type `time_t ()(time_t*)'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_heap.h: In function `void std::sort_heap(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator 


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 21:31:02, Gzip enabled