Borderou de evaluare (job #1755374)

Utilizator alexpetrescuAlexandru Petrescu alexpetrescu Data 10 septembrie 2016 00:11:07
Problema Camera Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:77:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^ user.cpp:78:57: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=0; i<n; i++) fscanf(fin, "%d%d", &x[i], &y[i]); ^ user.cpp:79:16: warning: array subscript is below array bounds [-Warray-bounds] a=1LL*x[n-1]*y[0]-1LL*x[0]*y[n-1]; ^ user.cpp:79:37: warning: array subscript is below array bounds [-Warray-bounds] a=1LL*x[n-1]*y[0]-1LL*x[0]*y[n-1]; ^ user.cpp:69:5: warning: ‘t’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(i=0; i<k; i++) p[i]=aux[i], ok[i]=0; ^ user.cpp:31:15: note: ‘t’ was declared here int s, i, t; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK !10
20ms260kbRaspuns gresit !0
30ms264kbRaspuns gresit !0
40ms300kbOK !10
50ms300kbOK !10
60ms276kbRaspuns gresit !0
70ms272kbRaspuns gresit !0
80ms276kbRaspuns gresit !0
90ms272kbRaspuns gresit !0
100ms276kbRaspuns gresit !0
Punctaj total30

Ceva nu functioneaza?