Borderou de evaluare (job #1687508)

Utilizator stefzahZaharia Stefan Tudor stefzah Data 12 aprilie 2016 21:42:30
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ăşit432kbTime limit exceeded.0
3Depăşit432kbTime limit exceeded.0
4Depăşit432kbTime limit exceeded.0
512ms804kbKilled by signal 11(SIGSEGV).0
612ms800kbKilled by signal 11(SIGSEGV).0
716ms800kbKilled by signal 11(SIGSEGV).0
816ms800kbKilled by signal 11(SIGSEGV).0
916ms800kbKilled by signal 11(SIGSEGV).0
1016ms800kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?