Borderou de evaluare (job #2182728)

Utilizator MarutBrabete Marius Stelian Marut Data 22 martie 2018 16:52:15
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

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
10ms1316kbIncorect0
24ms1320kbIncorect0
3124ms1356kbIncorect0
4Depăşit1376kbTime limit exceeded.0
5Depăşit1560kbTime limit exceeded.0
6Depăşit1752kbTime limit exceeded.0
7Depăşit1900kbTime limit exceeded.0
8Depăşit2060kbTime limit exceeded.0
9Depăşit2032kbTime limit exceeded.0
10Depăşit2032kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?