Borderou de evaluare (job #1264237)

Utilizator isav_costinVlad Costin Andrei isav_costin Data 15 noiembrie 2014 17:07:54
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: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
10ms240kbIncorect0
20ms252kbIncorect0
320ms260kbIncorect0
4336ms340kbIncorect0
5Depăşit384kbTime limit exceeded.0
6Depăşit500kbTime limit exceeded.0
7Depăşit576kbTime limit exceeded.0
8Depăşit632kbTime limit exceeded.0
9Depăşit632kbTime limit exceeded.0
10Depăşit636kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?