Borderou de evaluare (job #2145650)

Utilizator the@EyE@Postavaru Stefan the@EyE@ Data 27 februarie 2018 15:14:51
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:68:10: warning: statement has no effect [-Wunused-value] for(i;best>0&&i>=0;--i) ^ user.cpp:73:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<ans.size();++i)printf("%d ",ans[i]); ^ user.cpp: In function ‘void read_data()’: user.cpp:25:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("scmax.in","r",stdin); ^ user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("scmax.out","w",stdout); ^ user.cpp:27:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:29:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms1072kbLungime incorecta!00
20ms1184kbLungime incorecta!00
30ms1084kbLungime incorecta!00
40ms1100kbLungime incorecta!00
50ms1108kbLungime incorecta!00
60ms1128kbLungime incorecta!00
70ms1164kbLungime incorecta!00
8144ms5956kbLungime incorecta!00
984ms5932kbCorect!10
10144ms5928kbLungime incorecta!0
Punctaj total0

Ceva nu functioneaza?