Borderou de evaluare (job #2258126)

Utilizator alex.cojocaruAlex Cojocaru alex.cojocaru Data 10 octombrie 2018 21:19:18
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:62: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:33: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:35: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:38:26: warning: iteration 4 invokes undefined behavior [-Waggressive-loop-optimizations] matrez.mat[i][j] = 0, matbaz.mat[i][j] = 0 ; ~~~~~~~~~~~~~~~~~^~~ user.cpp:37:26: note: within this loop for (int j = 0 ; j <= 4 ; j++ ) ~~^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1316kbRaspuns gresit!0
20ms1312kbRaspuns gresit!0
30ms1312kbRaspuns gresit!0
40ms1320kbRaspuns gresit!0
50ms1312kbRaspuns gresit!0
60ms1316kbRaspuns gresit!0
70ms1316kbRaspuns gresit!0
80ms1312kbRaspuns gresit!0
90ms1316kbRaspuns gresit!0
100ms1312kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?