Borderou de evaluare (job #1284717)

Utilizator AlexTAlexandru AlexT Data 6 decembrie 2014 19:23:54
Problema Subsecventa de suma maxima Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 95

Raport evaluator

Compilare: user.cpp:5:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] main() ^ user.cpp: In function ‘int main()’: user.cpp:10:5: warning: variable ‘poz’ set but not used [-Wunused-but-set-variable] int poz,pozmax,inceputmax,s,smax,inceput,i,j,n,*a; ^ user.cpp:10:44: warning: unused variable ‘j’ [-Wunused-variable] int poz,pozmax,inceputmax,s,smax,inceput,i,j,n,*a; ^ user.cpp:11:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d ",&n); ^ user.cpp:22:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d ",&a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK5
20ms252kbOK5
30ms256kbIncorect0
40ms256kbOK5
50ms276kbOK5
60ms296kbOK5
74ms336kbOK5
84ms376kbOK5
924ms524kbOK5
1048ms788kbOK5
1196ms1580kbOK5
12144ms2372kbOK5
13200ms3164kbOK5
14252ms3956kbOK5
151180ms19532kbOK5
161276ms21644kbOK5
171280ms21644kbOK5
181372ms23492kbOK5
191372ms23492kbOK5
201416ms23492kbOK5
Punctaj total95

Ceva nu functioneaza?