Borderou de evaluare (job #1941954)

Utilizator jason2013Andronache Riccardo jason2013 Data 27 martie 2017 18:27:55
Problema Parantezare optima de matrici Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:27:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in, "%d", &n); ^ user.cpp:29:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in, "%d", &arr[i]); ^ user.cpp: In function ‘void print()’: user.cpp:60:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(out, "%d", mat[1][n]); ^ user.cpp: In function ‘void read()’: user.cpp:27:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &n); ^ user.cpp:29:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &arr[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms472kbOK10
20ms476kbOK10
30ms528kbOK10
40ms612kbOK10
50ms648kbOK10
60ms848kbOK10
720ms1252kbOK10
876ms1648kbOK10
9184ms2048kbIncorect0
10364ms2444kbIncorect0
Punctaj total80

Ceva nu functioneaza?