Borderou de evaluare (job #2784170)

Utilizator Vlad_AnicaAnica-Popa Vlad-Ioan Vlad_Anica Data 15 octombrie 2021 23:28:44
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:30:27: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=] 30 | fscanf(fin, "%d%d", pos, val); | ~^ ~~~ | | | | int* int main.cpp:30:29: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'int' [-Wformat=] 30 | fscanf(fin, "%d%d", pos, val); | ~^ ~~~ | | | | int* int main.cpp:62:13: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized] 62 | pos += (pos & -pos); | ~~~~^~~~~~~~~~~~~~~ main.cpp:14:32: note: 'pos' was declared here 14 | int type, i, lo, hi, step, pos, m, val; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbKilled by Signal 110
21ms184kbKilled by Signal 110
32ms184kbKilled by Signal 110
45ms327kbKilled by Signal 110
511ms364kbKilled by Signal 110
618ms462kbKilled by Signal 110
742ms561kbKilled by Signal 110
824ms634kbKilled by Signal 110
925ms647kbKilled by Signal 110
1032ms602kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?