Skip to main content
3 of 3
Commonmark migration

Ruby, 52

t=gets.to_i;s=0;t.times{i=gets.to_i;s+=i if i>0};p s 
david4dev
  • 693
  • 3
  • 11