Borderou de evaluare (job #2640949)

Utilizator andrei_marciucMarciuc Andrei andrei_marciuc Data 9 august 2020 12:39:43
Problema Mesaje Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:13:1: error: 'vector' does not name a type vector<char> c[ MAXN + 1 ]; ^~~~~~ main.cpp: In function 'bool cmp(const int&, const int&)': main.cpp:28:13: error: 'c' was not declared in this scope int i = c[ a ].size() - 1, j = c[ b ].size() - 1; ^ main.cpp:29:27: error: 'j' was not declared in this scope while( ( i > 0 ) && ( j > 0 ) && ( c[ a ][ i ] == c[ b ][ j ] ) ){ ^ main.cpp:33:25: error: 'j' was not declared in this scope if( ( i == 0 ) && ( j == 0 ) ) ^ main.cpp: In function 'int main()': main.cpp:53:9: error: 'c' was not declared in this scope c[ n ].push_back( 0 ); ^ main.cpp:68:17: error: 'c' was not declared in this scope c[ u ].push_back( m ); ^ main.cpp:77:16: error: 'c' was not declared in this scope int best = c[ ind[ 0 ] ].back(); ^ main.cpp: In function 'char nextch()': main.cpp:21: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?