Borderou de evaluare (job #2258128)

Utilizator alex.cojocaruAlex Cojocaru alex.cojocaru Data 10 octombrie 2018 21:19:54
Problema Iepuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:63:66: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf (fout, "%lld\n", inmultire(matbaz, matrez).mat[1][1] ) ; ^ user.cpp:34:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d", &t ) ; ^ user.cpp:36:65: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d%d%d%d%d%d%d", &x, &y, &z, &a, &b, &c, &n ) ; ^ user.cpp:39:26: warning: iteration 4 invokes undefined behavior [-Waggressive-loop-optimizations] matrez.mat[i][j] = 0, matbaz.mat[i][j] = 0 ; ~~~~~~~~~~~~~~~~~^~~ user.cpp:38:26: note: within this loop for (int j = 0 ; j <= 4 ; j++ ) ~~^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1312kbRaspuns gresit!0
20ms1316kbRaspuns gresit!0
30ms1312kbRaspuns gresit!0
40ms1316kbRaspuns gresit!0
50ms1312kbRaspuns gresit!0
60ms1316kbRaspuns gresit!0
70ms1312kbRaspuns gresit!0
80ms1316kbRaspuns gresit!0
90ms1316kbRaspuns gresit!0
100ms1312kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?