Borderou de evaluare (job #149389)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Competitie | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 16 iun. 2015 00:09:49 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:14: error: ‘int time [1001]’ redeclared as different kind of symbol
/usr/include/time.h:186:15: error: previous declaration of ‘time_t time(time_t*)’
user.cpp: In function ‘int main()’:
user.cpp:12:23: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:12:23: error: cannot bind ‘std::basic_istream<char>’ lvalue to ‘std::basic_istream<char>&&’
/usr/include/c++/4.6/istream:852:5: error: initializing argument 1 of ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&&, _Tp&) [with _CharT = char, _Traits = std::char_traits<char>, _Tp = long int(long int*)throw ()]’
user.cpp:14:30: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:14:30: error: invalid conversion from ‘time_t (*)(time_t*)throw () {aka long int (*)(long int*)throw ()}’ to ‘int’ [-fpermissive]
user.cpp:29:30: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:29:30: error: invalid conversion from ‘time_t (*)(time_t*)throw () {aka long int (*)(long int*)throw ()}’ to ‘int’ [-fpermissive]