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_9873545_29213.cpp:34: error: `LL time' 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_9873545_29213.cpp:34: error: declaration of `LL time'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/time.h:85: error: conflicts with previous declaration `time_t time(time_t*)'
0_0_9873545_29213.cpp: In function `void add_time(LL)':
0_0_9873545_29213.cpp:37: error: ISO C++ forbids comparison between pointer and integer
0_0_9873545_29213.cpp:38: error: pointer to a function used in arithmetic
0_0_9873545_29213.cpp:38: error: assignment of function `time_t time(time_t*)'
0_0_9873545_29213.cpp:38: error: cannot convert `time_t (*)(time_t*)' to `time_t ()(time_t*)' in assignment
0_0_9873545_29213.cpp: In function `void ask_token(LL)':
0_0_9873545_29213.cpp:50: error: call of overloaded `div(LL&, LL&)' is ambiguous
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/stdlib.h:377: note: candidates are: div_t div(int, int)
0_0_9873545_29213.cpp:23: note:                 LL div(LL, LL)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:161: note:                 lldiv_t __gnu_cxx::div(long long int, long long int)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:126: note:                 ldiv_t std::div(long int, long int)
0_0_9873545_29213.cpp:51: error: pointer to a function used in arithmetic
0_0_9873545_29213.cpp:51: error: assignment of function `time_t time(time_t*)'
0_0_9873545_29213.cpp:51: error: cannot convert `time_t (*)(time_t*)' to `time_t ()(time_t*)' in assignment
0_0_9873545_29213.cpp: In function `void ask_food(LL)':
0_0_9873545_29213.cpp:60: error: call of overloaded `div(LL&, LL&)' is ambiguous
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/stdlib.h:377: note: candidates are: div_t div(int, int)
0_0_9873545_29213.cpp:23: note:                 LL div(LL, LL)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:161: note:                 lldiv_t __gnu_cxx::div(long long int, long long int)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:126: note:                 ldiv_t std::div(long int, long int)
0_0_9873545_29213.cpp: In function `LL cal(LL)':
0_0_9873545_29213.cpp:72: error: assignment of function `time_t time(time_t*)'
0_0_9873545_29213.cpp:72: error: cannot convert `LL' to `time_t ()(time_t*)' in assignment
0_0_9873545_29213.cpp:76: error: pointer to a function used in arithmetic
0_0_9873545_29213.cpp:76: error: assignment of function `time_t time(time_t*)'
0_0_9873545_29213.cpp:76: error: cannot convert `time_t (*)(time_t*)' to `time_t ()(time_t*)' in assignment
0_0_9873545_29213.cpp:83: error: pointer to a function used in arithmetic
0_0_9873545_29213.cpp:83: error: assignment of function `time_t time(time_t*)'
0_0_9873545_29213.cpp:83: error: cannot convert `time_t (*)(time_t*)' to `time_t ()(time_t*)' in assignment
0_0_9873545_29213.cpp:89: error: call of overloaded `div(LL&, LL&)' is ambiguous
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/stdlib.h:377: note: candidates are: div_t div(int, int)
0_0_9873545_29213.cpp:23: note:                 LL div(LL, LL)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:161: note:                 lldiv_t __gnu_cxx::div(long long int, long long int)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:126: note:                 ldiv_t std::div(long int, long int)
0_0_9873545_29213.cpp:96: error: call of overloaded `div(long long int, LL&)' is ambiguous
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/stdlib.h:377: note: candidates are: div_t div(int, int)
0_0_9873545_29213.cpp:23: note:                 LL div(LL, LL)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:161: note:                 lldiv_t __gnu_cxx::div(long long int, long long int)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:126: note:                 ldiv_t std::div(long int, long int)
0_0_9873545_29213.cpp:97: error: call of overloaded `div(LL&, LL&)' is ambiguous
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/stdlib.h:377: note: candidates are: div_t div(int, int)
0_0_9873545_29213.cpp:23: note:                 LL div(LL, LL)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:161: note:                 lldiv_t __gnu_cxx::div(long long int, long long int)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:126: note:                 ldiv_t std::div(long int, long int)
0_0_9873545_29213.cpp:98: error: call of overloaded `div(LL&, LL&)' is ambiguous
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/stdlib.h:377: note: candidates are: div_t div(int, int)
0_0_9873545_29213.cpp:23: note:                 LL div(LL, LL)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:161: note:                 lldiv_t __gnu_cxx::div(long long int, long long int)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:126: note:                 ldiv_t std::div(long int, long int)
0_0_9873545_29213.cpp:99: error: call of overloaded `div(LL&, LL&)' is ambiguous
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/stdlib.h:377: note: candidates are: div_t div(int, int)
0_0_9873545_29213.cpp:23: note:                 LL div(LL, LL)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:161: note:                 lldiv_t __gnu_cxx::div(long long int, long long int)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:126: note:                 ldiv_t std::div(long int, long int)
0_0_9873545_29213.cpp:101: error: call of overloaded `div(long long int, LL&)' is ambiguous
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/stdlib.h:377: note: candidates are: div_t div(int, int)
0_0_9873545_29213.cpp:23: note:                 LL div(LL, LL)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:161: note:                 lldiv_t __gnu_cxx::div(long long int, long long int)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstdlib:126: note:                 ldiv_t std::div(long int, long int)
0_0_9873545_29213.cpp:102: error: invalid conversion from `time_t (*)(time_t*)' to `LL'


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-26 13:20:02, Gzip enabled