Borderou de evaluare (job #1687509)

Utilizator stefzahZaharia Stefan Tudor stefzah Data 12 aprilie 2016 21:43:03
Problema Specsort Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] {freopen("specsort.in","r",stdin); ^ user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("specsort.out","w",stdout); ^ user.cpp:18:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] {scanf("%d",&x);a[x]=a[x-1]+1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOk!10
2Depăşit440kbTime limit exceeded.0
3Depăşit436kbTime limit exceeded.0
4Depăşit436kbTime limit exceeded.0
5Depăşit1144kbTime limit exceeded.0
6Depăşit1140kbTime limit exceeded.0
7Depăşit1140kbTime limit exceeded.0
8Depăşit1140kbTime limit exceeded.0
9Depăşit1144kbTime limit exceeded.0
10Depăşit1144kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?