Borderou de evaluare (job #1564365)

Utilizator Condition17Conache Cristian Condition17 Data 9 ianuarie 2016 17:21:07
Problema Teams Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:92:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("\n--- %d -- %d -- \n",i,(A - power[i])); ^ user.c:105:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("\n%d",sol); ^ user.c:107:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(f,"%d",sol); ^ user.c:83:5: warning: unused variable ‘k’ [-Wunused-variable] int k=0; ^ user.c:82:5: warning: unused variable ‘ok’ [-Wunused-variable] int ok =1; ^ user.c:20:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(s,100,f); ^ user.c:44:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(s,32767,f); ^ user.c:8:15: warning: ‘A’ may be used uninitialized in this function [-Wmaybe-uninitialized] short int A,B,power[1000000],v[32767],x; ^ user.c:90:1: warning: ‘N’ may be used uninitialized in this function [-Wmaybe-uninitialized] for (i=1; i<=N;i++) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms304kbIncorect0
20ms304kbIncorect0
30ms308kbIncorect0
40ms308kbIncorect0
50ms316kbKilled by signal 11(SIGSEGV).0
60ms308kbKilled by signal 11(SIGSEGV).0
70ms312kbKilled by signal 11(SIGSEGV).0
80ms308kbKilled by signal 11(SIGSEGV).0
90ms308kbKilled by signal 11(SIGSEGV).0
100ms312kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?