Borderou de evaluare (job #432226)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cod (clasa a 6-a) | Compilator | cpp |
Rundă | sim_info4 | Status | evaluat |
Dată | 8 feb. 2019 11:13:34 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:26: error: no matching function for call to ‘div(int)’
user.cpp:46:26: note: candidates are:
/usr/include/stdlib.h:785:14: note: div_t div(int, int)
/usr/include/stdlib.h:785:14: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/4.6/cstdlib:179:3: note: lldiv_t __gnu_cxx::div(long long int, long long int)
/usr/include/c++/4.6/cstdlib:179:3: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/4.6/cstdlib:142:3: note: ldiv_t std::div(long int, long int)
/usr/include/c++/4.6/cstdlib:142:3: note: candidate expects 2 arguments, 1 provided
user.cpp:47:27: error: no matching function for call to ‘div(int)’
user.cpp:47:27: note: candidates are:
/usr/include/stdlib.h:785:14: note: div_t div(int, int)
/usr/include/stdlib.h:785:14: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/4.6/cstdlib:179:3: note: lldiv_t __gnu_cxx::div(long long int, long long int)
/usr/include/c++/4.6/cstdlib:179:3: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/4.6/cstdlib:142:3: note: ldiv_t std::div(long int, long int)
/usr/include/c++/4.6/cstdlib:142:3: note: candidate expects 2 arguments, 1 provided
user.cpp:48:27: error: no matching function for call to ‘div(int)’
user.cpp:48:27: note: candidates are:
/usr/include/stdlib.h:785:14: note: div_t div(int, int)
/usr/include/stdlib.h:785:14: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/4.6/cstdlib:179:3: note: lldiv_t __gnu_cxx::div(long long int, long long int)
/usr/include/c++/4.6/cstdlib:179:3: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/4.6/cstdlib:142:3: note: ldiv_t std::div(long int, long int)
/usr/include/c++/4.6/cstdlib:142:3: note: candidate expects 2 arguments, 1 provided
user.cpp:59:21: error: no matching function for call to ‘div(int)’
user.cpp:59:21: note: candidates are:
/usr/include/stdlib.h:785:14: note: div_t div(int, int)
/usr/include/stdlib.h:785:14: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/4.6/cstdlib:179:3: note: lldiv_t __gnu_cxx::div(long long int, long long int)
/usr/include/c++/4.6/cstdlib:179:3: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/4.6/cstdlib:142:3: note: ldiv_t std::div(long int, long int)
/usr/include/c++/4.6/cstdlib:142:3: note: candidate expects 2 arguments, 1 provided
user.cpp:60:21: error: no matching function for call to ‘div(int)’
user.cpp:60:21: note: candidates are:
/usr/include/stdlib.h:785:14: note: div_t div(int, int)
/usr/include/stdlib.h:785:14: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/4.6/cstdlib:179:3: note: lldiv_t __gnu_cxx::div(long long int, long long int)
/usr/include/c++/4.6/cstdlib:179:3: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/4.6/cstdlib:142:3: note: ldiv_t std::div(long int, long int)
/usr/include/c++/4.6/cstdlib:142:3: note: candidate expects 2 arguments, 1 provided
user.cpp:66:22: error: no matching function for call to ‘div(int)’
user.cpp:66:22: note: candidates are:
/usr/include/stdlib.h:785:14: note: div_t div(int, int)
/usr/include/stdlib.h:785:14: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/4.6/cstdlib:179:3: note: lldiv_t __gnu_cxx::div(long long int, long long int)
/usr/include/c++/4.6/cstdlib:179:3: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/4.6/cstdlib:142:3: note: ldiv_t std::div(long int, long int)
/usr/include/c++/4.6/cstdlib:142:3: note: candidate expects 2 arguments, 1 provided
user.cpp:67:22: error: no matching function for call to ‘div(int)’