Borderou de evaluare (job #1941962)

Utilizator jason2013Andronache Riccardo jason2013 Data 27 martie 2017 18:32:20
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
20ms472kbOK10
30ms528kbOK10
40ms608kbOK10
50ms648kbOK10
60ms844kbOK10
720ms1244kbOK10
876ms1652kbOK10
9184ms2052kbIncorect0
10364ms2444kbIncorect0
Punctaj total80

Ceva nu functioneaza?