Borderou de evaluare (job #1345493)

Utilizator horiainfoTurcuman Horia horiainfo Data 17 februarie 2015 17:46:23
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:69:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&task,&a); ^ user.cpp:57:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("aib.in","r",stdin); ^ user.cpp:58:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:63:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^ user.cpp:69:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&task,&a); ^ user.cpp:70:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] if(task==0) {scanf("%d",&b); adaug(b,a);} ^ user.cpp:73:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] {scanf("%d",&b); fout<<suma(1,a,b)<<'\n';} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms400kbOK10
20ms432kbOK10
38ms596kbOK10
40msDepăşitMemory limit exceeded.0
50msDepăşitMemory limit exceeded.0
60msDepăşitMemory limit exceeded.0
74msDepăşitMemory limit exceeded.0
84msDepăşitMemory limit exceeded.0
94msDepăşitMemory limit exceeded.0
104msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?