SPOJ Discussion board

Solution to TEST in Tcl

Languages & compilers Other languages

You have selected 0 posts.

select all

cancel selecting

Robert_Gerbicz
Sep '09

while {1} {
    gets stdin x
    if {$x == 42} break
    puts "$x\n"
}
exit 0

share a link to this topic