Paieškos gilyn pratimas

Taškai: 72.7

Compile: OK

dfs_pratimas.cpp: In function ‘int main()’: dfs_pratimas.cpp:34:23: warning: iteration 100100u invokes undefined behavior [-Waggressive-loop-optimizations] if(aplankyta[i]) cout << i+1 << " "; ^ dfs_pratimas.cpp:33:23: note: containing loop for (int i = 0; i <= MAXN; i++){ ^

nr.resulttimemessage
1True0.004 sok
2True0.004 sok
3True0.004 sok
4True0.144 sok
5True0.216 sok
6True0.212 sok
7True0.156 sok
8True0.184 sok
9False0.028 sNeteisinga eilutė
10False0.028 sNeteisinga eilutė
11False0.028 sNeteisinga eilutė