Borderou de evaluare (job #1264243)

Utilizator isav_costinVlad Costin Andrei isav_costin Data 15 noiembrie 2014 17:12:03
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:5:36: 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:6:38: 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:8:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d%d", &n, &m ); ^ user.cpp:10:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d", &aib[i] ); ^ user.cpp:13:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d", &op ); ^ user.cpp:15:63: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d%d", &poz, &val ), aib[poz]=aib[poz]+val; ^ user.cpp:18:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d%d", &poz, &val ); ^ user.cpp:26:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d", &val ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbOK10
20ms252kbOK10
320ms268kbOK10
4324ms344kbOK10
5Depăşit384kbTime limit exceeded.0
6Depăşit504kbTime limit exceeded.0
7Depăşit580kbTime limit exceeded.0
8Depăşit628kbTime limit exceeded.0
9Depăşit632kbTime limit exceeded.0
10Depăşit632kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?