Borderou de evaluare (job #2474177)

Utilizator mionelIon. M mionel Data 14 octombrie 2019 19:52:55
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:16:1: error: 'stack' does not name a type stack <int>s; ^~~~~ main.cpp: In function 'void dfs(int)': main.cpp:28:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<g[nod].size();++i) ~^~~~~~~~~~~~~~ main.cpp:32:5: error: 's' was not declared in this scope s.push(nod); ^ main.cpp: In function 'void dfst(int)': main.cpp:38:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<gt[nod].size();++i) ~^~~~~~~~~~~~~~~ main.cpp: In function 'int main(int, char**)': main.cpp:55:9: error: 'st' was not declared in this scope memset(st,0,sizeof(st)); ^~ main.cpp:63:9: error: 's' was not declared in this scope while(!s.empty()) ^ main.cpp:75:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;j<ctc[i].size();++j) ~^~~~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?