Borderou de evaluare (job #1941953)

Utilizator jason2013Andronache Riccardo jason2013 Data 27 martie 2017 18:27:23
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
30ms532kbOK10
40ms612kbOK10
50ms644kbOK10
60ms852kbOK10
720ms1248kbOK10
876ms1648kbOK10
9184ms2052kbIncorect0
10368ms2448kbIncorect0
Punctaj total80

Ceva nu functioneaza?