Paieškos gilyn pratimas

Taškai: 100

Compile: OK

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

nr.resulttimemessage
1True0.004 sok
2True0.004 sok
3True0.004 sok
4True0.248 sok
5True0.244 sok
6True0.264 sok
7True0.172 sok
8True0.156 sok
9True0.028 sok
10True0.028 sok
11True0.028 sok