Borderou de evaluare (job #2145641)

Utilizator the@EyE@Postavaru Stefan the@EyE@ Data 27 februarie 2018 15:04:47
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:62:10: warning: statement has no effect [-Wunused-value] for(i;best>0&&i>=0;--i) ^ user.cpp:67: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:20: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:21: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:22:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:24: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
1Depăşit1060kbTime limit exceeded.00
2Depăşit1064kbTime limit exceeded.00
3Depăşit1048kbTime limit exceeded.00
4Depăşit1052kbTime limit exceeded.00
5Depăşit1048kbTime limit exceeded.00
6Depăşit1060kbTime limit exceeded.00
7Depăşit1064kbTime limit exceeded.00
8Depăşit1816kbTime limit exceeded.00
9Depăşit1816kbTime limit exceeded.0
10Depăşit1820kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?