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_9873567_11023.cpp: In function `void ask_token(LL)':
0_0_9873567_11023.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_9873567_11023.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_9873567_11023.cpp: In function `void ask_food(LL)':
0_0_9873567_11023.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_9873567_11023.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_9873567_11023.cpp: In function `LL cal(LL)':
0_0_9873567_11023.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_9873567_11023.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_9873567_11023.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_9873567_11023.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_9873567_11023.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_9873567_11023.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_9873567_11023.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_9873567_11023.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_9873567_11023.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_9873567_11023.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_9873567_11023.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_9873567_11023.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)


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-23 03:06:23, Gzip enabled