Borderou de evaluare (job #2365860)

Utilizator akaprosAna Kapros akapros Data 4 martie 2019 16:58:05
Problema Rege2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int bs()': main.cpp:103:13: error: 'maxC' was not declared in this scope int i = maxC - 1, p = 1 << 29; ^~~~ main.cpp:104:12: error: 'p' was not declared in this scope while (p) ^ main.cpp: In function 'void init()': main.cpp:115:5: error: 'maxC' was not declared in this scope maxC = 0; ^~~~ main.cpp: In function 'int main()': main.cpp:139:13: error: 'maxC' was not declared in this scope maxC = max(c, maxC); ^~~~ main.cpp:128:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ main.cpp:131:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &nrChains); ^ main.cpp:136:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &u, &v, &c); ^ Non zero exit status: 1

Ceva nu functioneaza?