Borderou de evaluare (job #2158945)

Utilizator VladTiberiuMihailescu Vlad Tiberiu VladTiberiu Data 10 martie 2018 17:21:28
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:60:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘double*’ [-Wformat=] scanf("%d",&a[i].x); ^ user.cpp:66:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘double’ [-Wformat=] printf("%d ",a[i].x); ^ user.cpp:55:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("algsort.in","r",stdin); ^ user.cpp:56:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("algsort.out","w",stdout); ^ user.cpp:58:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:60:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i].x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms3364kbOK520
20ms3288kbOK5
30ms3288kbOK5
40ms3360kbOK5
54ms3292kbOK520
64ms3380kbOK5
74ms3368kbOK5
84ms3368kbOK5
9340ms6996kbOK520
10264ms6884kbOK5
11224ms7008kbOK5
12336ms6892kbOK5
13360msDepăşitMemory limit exceeded.00
14312msDepăşitMemory limit exceeded.0
15312msDepăşitMemory limit exceeded.0
16360msDepăşitMemory limit exceeded.0
17192msDepăşitMemory limit exceeded.00
18184msDepăşitMemory limit exceeded.0
19172msDepăşitMemory limit exceeded.0
20196msDepăşitMemory limit exceeded.0
Punctaj total60

Ceva nu functioneaza?