Borderou de evaluare (job #1805541)

Utilizator doruliqueDoru MODRISAN dorulique Data 13 noiembrie 2016 22:33:54
Problema Subsecventa de suma maxima Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:8:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ user.cpp:11:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&x); ^ user.cpp:24:24: warning: ‘bmax’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(i-a>bmax-amax){amax=a;bmax=i;} ^ user.cpp:24:24: warning: ‘amax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK5
20ms264kbOK5
30ms264kbOK5
40ms268kbOK5
50ms268kbOK5
60ms268kbOK5
74ms264kbOK5
84ms268kbOK5
920ms268kbOK5
1044ms260kbOK5
1192ms268kbOK5
12136ms268kbOK5
13188ms268kbOK5
14228ms264kbOK5
151000ms264kbOK5
161316ms264kbOK5
171140ms264kbOK5
181228ms268kbOK5
191436ms268kbOK5
201244ms264kbOK5
Punctaj total100

Ceva nu functioneaza?