Borderou de evaluare (job #2182734)

Utilizator MarutBrabete Marius Stelian Marut Data 22 martie 2018 16:54:39
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:18: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:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("aib.out","w",stdout); ^ user.cpp:21: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:24:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^ user.cpp:33:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&c,&x1); ^ user.cpp:34:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] if(c==0) {scanf("%d",&x2); update(x1,x2,n);} ^ user.cpp:35:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] else if(c==1) { scanf("%d",&x2); printf("%d\n",query(x2)-query(x1-1)); } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1356kbOK10
24ms1324kbOK10
3124ms1388kbOK10
4Depăşit1460kbTime limit exceeded.0
5Depăşit1448kbTime limit exceeded.0
6Depăşit1680kbTime limit exceeded.0
7Depăşit1924kbTime limit exceeded.0
8Depăşit2044kbTime limit exceeded.0
9Depăşit2064kbTime limit exceeded.0
10Depăşit2016kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?