Borderou de evaluare (job #1687487)

Utilizator stefzahZaharia Stefan Tudor stefzah Data 12 aprilie 2016 21:30:16
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:7: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:8: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:9:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:11: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
10ms280kbOk!10
2Depăşit400kbTime limit exceeded.0
3Depăşit396kbTime limit exceeded.0
4Depăşit400kbTime limit exceeded.0
5Depăşit860kbTime limit exceeded.0
6Depăşit868kbTime limit exceeded.0
7Depăşit864kbTime limit exceeded.0
8Depăşit860kbTime limit exceeded.0
9Depăşit864kbTime limit exceeded.0
10Depăşit864kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?