Borderou de evaluare (job #2574075)

Utilizator rebecca0312Andrei Rebecca rebecca0312 Data 5 martie 2020 20:14:33
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:37:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d%d", &n, &m); ^ main.cpp:34: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); ^ main.cpp:35: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); ^ main.cpp:37:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:40:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &nr); ^ main.cpp:45:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld", &cer, &nr); ^ main.cpp:48:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &val); ^ main.cpp:53:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &nr2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
24ms131kbOK10
312ms131kbOK10
445ms393kbOK10
5103ms655kbOK10
6142ms917kbOK10
7168ms1179kbOK10
8212ms1310kbOK10
9226ms1441kbOK10
10237ms1310kbOK10
Punctaj total100

Ceva nu functioneaza?