Borderou de evaluare (job #2070766)

Utilizator FaneCelMareStefan FaneCelMare Data 19 noiembrie 2017 21:45:37
Problema Split Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:26:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &n); ^ user.c:29:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &v[i]); ^ user.c:101:25: warning: ‘ctn’ may be used uninitialized in this function [-Wmaybe-uninitialized] nowcost = cti + ctj + ctk + ctn; ^ user.c:94:44: warning: ‘prevmin4’ may be used uninitialized in this function [-Wmaybe-uninitialized] if ((v[k] == prevmax4) || (v[k] == prevmin4)) { ^ user.c:94:24: warning: ‘prevmax4’ may be used uninitialized in this function [-Wmaybe-uninitialized] if ((v[k] == prevmax4) || (v[k] == prevmin4)) { ^ user.c:101:37: warning: ‘ctk’ may be used uninitialized in this function [-Wmaybe-uninitialized] nowcost = cti + ctj + ctk + ctn; ^ user.c:89:24: warning: ‘prevmin3’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (v[k] < prevmin3) { ^ user.c:85:24: warning: ‘prevmax3’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (v[k] > prevmax3) { ^ user.c:54:17: warning: ‘ctj’ may be used uninitialized in this function [-Wmaybe-uninitialized] int ctj; ^ user.c:64:20: warning: ‘prevmin2’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (v[j] < prevmin2) { ^ user.c:60:20: warning: ‘prevmax2’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (v[j] > prevmax2) { ^ user.c:34:9: warning: ‘cti’ may be used uninitialized in this function [-Wmaybe-uninitialized] int cti; ^ user.c:46:16: warning: ‘prevmin1’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (v[i] < prevmin1) { ^ user.c:42:16: warning: ‘prevmax1’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (v[i] > prevmax1) { ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK10
20ms280kbOK10
348ms284kbOK10
4Depăşit260kbTime limit exceeded.0
5Depăşit260kbTime limit exceeded.0
6Depăşit268kbTime limit exceeded.0
7Depăşit268kbTime limit exceeded.0
8Depăşit272kbTime limit exceeded.0
9Depăşit272kbTime limit exceeded.0
10Depăşit272kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?