cnt = gets.to_ires = 1;while(cnt--){ nw = gets.to_i res *= nw}puts res
100
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!