Borderou de evaluare (job #201377)
Utilizator | Data | 31 iulie 2008 00:01:37 | |
---|---|---|---|
Problema | Flori | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare in evaluator:
In file included from /usr/include/c++/4.2/backward/fstream.h:31,
from user.cpp:10:
/usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
user.cpp:71:2: warning: no newline at end of file
user.cpp:11: error: 'int rand [1001]' redeclared as different kind of symbol
/usr/include/stdlib.h:380: error: previous declaration of 'int rand()'
user.cpp: In function 'void citire_rand()':
user.cpp:20: error: pointer to a function used in arithmetic
user.cpp:20: error: ambiguous overload for 'operator>>' in 'fin >> *(((int (*)()throw ())((unsigned int)j)) + rand)'
/usr/include/c++/4.2/istream:131: note: candidates are: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>& (*)(std::basic_istream<_CharT, _Traits>&)) [with _CharT = char, _Traits = std::char_traits<char>] <near match>
/usr/include/c++/4.2/istream:135: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_ios<_CharT, _Traits>& (*)(std::basic_ios<_CharT, _Traits>&)) [with _CharT = char, _Traits = std::char_traits<char>] <near match>
/usr/include/c++/4.2/istream:142: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::ios_base& (*)(std::ios_base&)) [with _CharT = char, _Traits = std::char_traits<char>] <near match>
user.cpp: In function 'void parc(int)':
user.cpp:27: error: pointer to a function used in arithmetic
user.cpp:27: error: invalid types 'int [1001][int ()()]' for array subscript
user.cpp:29: error: pointer to a function used in arithmetic
user.cpp:29: error: invalid types 'int [1001][int ()()]' for array subscript
user.cpp:31: error: pointer to a function used in arithmetic
user.cpp:31: error: invalid types 'int [1001][int ()()]' for array subscript
user.cpp:39: error: pointer to a function used in arithmetic
user.cpp:39: error: invalid types 'int [1001][int ()()]' for array subscript
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !