Borderou de evaluare (job #1553062)

Utilizator andreinmAndrei andreinm Data 19 decembrie 2015 10:37:14
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:37: 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:39:39: 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:41:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d" , &n , &m); ^ user.cpp:43:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d" , &x) , Update(x , i); ^ user.cpp:46:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d" , &type); ^ user.cpp:48:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d" , &a , &b) , Update(b , a); ^ user.cpp:51:80: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d" , &a , &b) , printf ("%d\n" , Sum(b) - Sum(a-1)); ^ user.cpp:54:67: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d" , &ans) , printf ("%d\n" , P(ans)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOK10
20ms280kbOK10
38ms296kbOK10
432ms380kbOK10
576ms412kbOK10
6120ms536kbOK10
7128ms608kbOK10
8192ms664kbOK10
9188ms664kbOK10
10188ms664kbOK10
Punctaj total100

Ceva nu functioneaza?