Sha256: 5adc6fab12498451d6fa63a762f469beb8da133c1c7aad51a9af8c0fe956c645

Contents?: true

Size: 264 Bytes

Versions: 2

Compression:

Stored size: 264 Bytes

Contents

# coding: utf-8
require 'stringio'

class NAME
  alias :puts_original :puts
  def initialize(input)
    @f = StringIO.new(input)
  end

  def gets
    @f.gets
  end

  def puts(a)
    puts_original a
    a
  end

  def solve
    # write your program here
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
atcoder_greedy-0.1.1 lib/atcoder_greedy/templates/ruby/solve.rb
atcoder_greedy-0.1.0 lib/atcoder_greedy/templates/ruby/solve.rb