Borderou de evaluare (job #2361823)

Utilizator PinkiePie1189Preoteasa Mircea-Costin PinkiePie1189 Data 2 martie 2019 19:10:05
Problema Biscuiti Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:43:37: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(fin, "%d", &updateval); ^ main.cpp: In function 'Node Query(int, int, int)': main.cpp:4:18: warning: overflow in implicit constant conversion [-Woverflow] #define INF (1LL << 60) ~~~~~^~~~~~ main.cpp:145:30: note: in expansion of macro 'INF' a.val = INF, a.poz = INF, b.val = INF, b.poz = INF; ^~~ main.cpp:4:18: warning: overflow in implicit constant conversion [-Woverflow] #define INF (1LL << 60) ~~~~~^~~~~~ main.cpp:145:56: note: in expansion of macro 'INF' a.val = INF, a.poz = INF, b.val = INF, b.poz = INF; ^~~ main.cpp: In function 'int main()': main.cpp:37:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^ main.cpp:43:38: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &updateval); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
132ms19267kbOK10
2218ms19267kbOK10
337ms19267kbOK10
452ms19267kbOK10
5203ms19267kbOK10
6204ms19267kbOK10
7197ms19398kbOK10
8186ms19267kbOK10
9188ms19267kbOK10
10220ms19267kbOK10
Punctaj total100

Ceva nu functioneaza?