Borderou de evaluare (job #1345481)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:76: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:64: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:65: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:70:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^ user.cpp:76: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:77: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:80: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
10ms412kbOK10
28ms440kbIncorect0
320ms608kbIncorect0
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 total10

Ceva nu functioneaza?