Borderou de evaluare (job #1794083)

Utilizator gorneanu.andreiFMI Gorneanu Andrei gorneanu.andrei Data 31 octombrie 2016 21:29:31
Problema Geamuri Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘creare_matrice’: user.c:7:13: warning: unused variable ‘j’ [-Wunused-variable] {int i, j; ^ user.c:7:10: warning: unused variable ‘i’ [-Wunused-variable] {int i, j; ^ user.c: In function ‘main’: user.c:27:6: warning: implicit declaration of function ‘atoi’ [-Wimplicit-function-declaration] c = atoi(buff); ^ user.c:21:15: warning: unused variable ‘g’ [-Wunused-variable] FILE *f,*g; ^ user.c:21:12: warning: unused variable ‘f’ [-Wunused-variable] FILE *f,*g; ^ user.c:19:51: warning: unused variable ‘r’ [-Wunused-variable] int c , n , i , coordonata[5] , poz , j , m , r , nr_gloante; ^ user.c:23:13: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("geamuri.in","r",stdin); ^ user.c:24:13: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("geamuri.out","w",stdout); ^ user.c:26:11: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buff,DIM,stdin); ^ user.c:29:11: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buff,DIM,stdin); ^ user.c:33:15: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] { fgets(buff,DIM,stdin); ^ user.c:42:21: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(buff,1,DIM,stdin),poz=0; ^ user.c:61:12: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buff,DIM,stdin); ^ user.c:67:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buff,DIM,stdin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms564kbOK10
20ms1264kbOK10
38ms2288kbOK10
412ms2296kbOK10
524ms4360kbOK10
640ms4368kbOK10
756ms8468kbOK10
852ms8476kbOK10
952ms5348kbOK10
1048ms5364kbOK10
Punctaj total100

Ceva nu functioneaza?