zig-zag on the golden river

Problem Name:
zig-zag on the golden river
Site:Spoj
Links:
Tags:
Problem setters: