Borderou de evaluare (job #3121897)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 16 aprilie 2023 07:49:22
Problema Parcurgere DFS - componente conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:18:33: error: second operand to the conditional operator is of type 'void', but the third operand is neither a throw-expression nor of type 'void' 18 | for(i=1;i<=n;!a[i]?++c,A(i):0,++i); | ^ Non zero exit status: 1

Ceva nu functioneaza?