Borderou de evaluare (job #1613899)

Utilizator alex72101Sfat Alexandru alex72101 Data 25 februarie 2016 18:12:23
Problema Lungimi de interval Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d %d",&v[i][0],&v[i][1]); ^ user.cpp:36:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:34:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ user.cpp:36:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&v[i][0],&v[i][1]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms188kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?