Paieškos gilyn pratimas

Taškai: 100

Compile: OK

dfs_pratimas.cpp: In function ‘void paieska(int)’: dfs_pratimas.cpp:9:8: warning: range-based for loop without a type-specifier only available with -std=c++1z or -std=gnu++1z for(u:kaimynai[p]) if(!aplankytos[u]) paieska(u); ^

nr.resulttimemessage
1True0.004 sok
2True0.004 sok
3True0.004 sok
4True0.108 sok
5True0.108 sok
6True0.112 sok
7True0.068 sok
8True0.064 sok
9True0.012 sok
10True0.012 sok
11True0.012 sok