Borderou de evaluare (job #2328386)

Utilizator akaprosAna Kapros akapros Data 25 ianuarie 2019 18:13:05
Problema Diez Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void update(int, int, int, int)': main.cpp:88:24: error: 'h' was not declared in this scope st[nod].cnt = (h.val[0] != 0); ^ main.cpp:94:35: error: 'h' was not declared in this scope update(lson, l, mid, pos, h); ^ main.cpp:96:39: error: 'h' was not declared in this scope update(rson, mid + 1, r, pos, h); ^ main.cpp: In function 'int main()': main.cpp:122:34: warning: format '%s' expects argument of type 'char*', but argument 4 has type 'char (*)[500002]' [-Wformat=] scanf("%d%d\n%s", &n, &m, &si); ^ main.cpp:178:21: warning: unused variable 'jj' [-Wunused-variable] int jj = 0; ^~ main.cpp:122:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n%s", &n, &m, &si); ^ main.cpp:127:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &Q[i].ty); ^ main.cpp:131:59: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &Q[i].q1, &Q[i].q2, &Q[i].len); ^ main.cpp:138:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %c", &Q[i].q1, &ch); ^ Non zero exit status: 1

Ceva nu functioneaza?