Borderou de evaluare (job #2607300)

Utilizator Ioan_AnghelIoan Anghel Ioan_Anghel Data 29 aprilie 2020 16:25:42
Problema Lowest Common Ancestor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void dfs(int)': main.cpp:23:15: warning: ISO C++ forbids incrementing a pointer of type 'time_t (*)(time_t*) throw () {aka long int (*)(long int*) throw ()}' [-Wpointer-arith] ti[x] = ++time; ^~~~ main.cpp:23:15: error: lvalue required as increment operand main.cpp:31:15: warning: ISO C++ forbids incrementing a pointer of type 'time_t (*)(time_t*) throw () {aka long int (*)(long int*) throw ()}' [-Wpointer-arith] to[x] = ++time; ^~~~ main.cpp:31:15: error: lvalue required as increment operand Non zero exit status: 1

Ceva nu functioneaza?