Borderou de evaluare (job #1788019)

Utilizator croi01Henry Croitor Jr. croi01 Data 25 octombrie 2016 15:35:54
Problema Perle2 Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:12:9: warning: variable ‘scmax’ set but not used [-Wunused-but-set-variable] int scmax = -100000; ^ user.c:10:23: warning: variable ‘maxleft’ set but not used [-Wunused-but-set-variable] int left,maxright,maxleft = 0; ^ user.c:10:14: warning: variable ‘maxright’ set but not used [-Wunused-but-set-variable] int left,maxright,maxleft = 0; ^ user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%i",&n); ^ user.c:14:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%i",&k); ^ user.c:17:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%i",&a); ^ user.c:23:30: warning: ‘left’ may be used uninitialized in this function [-Wmaybe-uninitialized] else if(sc - k*(left - i +1)) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms180kbKilled by signal 11(SIGSEGV).0
20ms180kbKilled by signal 11(SIGSEGV).0
30ms176kbKilled by signal 11(SIGSEGV).0
40ms176kbKilled by signal 11(SIGSEGV).0
50ms180kbKilled by signal 11(SIGSEGV).0
60ms184kbKilled by signal 11(SIGSEGV).0
70ms180kbKilled by signal 11(SIGSEGV).0
80ms180kbKilled by signal 11(SIGSEGV).0
90ms180kbKilled by signal 11(SIGSEGV).0
100ms176kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?