Borderou de evaluare (job #1880117)

Utilizator robx12lnLinca Robert robx12ln Data 15 februarie 2017 15:23:37
Problema Dtcsu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5:39: error: ‘fopne’ was not declared in this scope FILE * fout = fopne( "dtcsu.out", "w" ); ^ user.cpp:8:1: error: ‘vector’ does not name a type vector< long long > v[MOD]; ^ user.cpp: In function ‘int search(long long int, int)’: user.cpp:12:25: error: ‘v’ was not declared in this scope for( int i = 0; i < v[k].size(); i++ ){ ^ user.cpp: In function ‘int main()’: user.cpp:25:9: error: ‘v’ was not declared in this scope v[x % MOD].push_back( x ); ^ user.cpp:32:9: error: ‘nr’ was not declared in this scope nr += search( x, x % MOD ); ^ user.cpp:35:32: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf( fout, "%lld", sol ); ^ user.cpp:24:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%lld", &x ); ^ user.cpp:27:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d", &m ); ^ user.cpp:31:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%lld", &x ); ^

Ceva nu functioneaza?