Borderou de evaluare (job #2640948)
Utilizator | Data | 9 august 2020 12:37:39 | |
---|---|---|---|
Problema | Mesaje | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:12:6: error: 'vector' in namespace 'std' does not name a template type
std::vector<char> c[ MAXN + 1 ];
^~~~~~
main.cpp: In function 'bool cmp(const int&, const int&)':
main.cpp:27:13: error: 'c' was not declared in this scope
int i = c[ a ].size() - 1, j = c[ b ].size() - 1;
^
main.cpp:28:27: error: 'j' was not declared in this scope
while( ( i > 0 ) && ( j > 0 ) && ( c[ a ][ i ] == c[ b ][ j ] ) ){
^
main.cpp:32:25: error: 'j' was not declared in this scope
if( ( i == 0 ) && ( j == 0 ) )
^
main.cpp: In function 'int main()':
main.cpp:52:9: error: 'c' was not declared in this scope
c[ n ].push_back( 0 );
^
main.cpp:67:17: error: 'c' was not declared in this scope
c[ u ].push_back( m );
^
main.cpp:76:16: error: 'c' was not declared in this scope
int best = c[ ind[ 0 ] ].back();
^
main.cpp: In function 'char nextch()':
main.cpp:20:39: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread( buf, BUF_SIZE, 1, fin );
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !