Result

AC

Duration

832ms

Code [DL]

I have A
I have B
I have C
I have S
I have 334 X
I have 116 T
A
Uh! Replace-A-B
Uh! Replace-B-C
Uh! Pick-C
Uh! Replace-S-A
Uh! Append-S-B
Uh! Append-S-C
Uh! Compare-S-X-B!?
Uh! Put-T
B
Uh! Jump-A

stdin

kyotototokyotokyokyotokyotokyokyotototokyokyokyoto

stdout

ttttt

stderr

bundler: failed to load command: ppap (/usr/local/ruby-latest/lib/ruby/gems/3.0.0/bin/ppap)
/root/ppap-lang/lib/ppap/interpreter.rb:64:in `run_command': undefined method `ord' for nil:NilClass (NoMethodError)
	from /root/ppap-lang/lib/ppap/interpreter.rb:20:in `run'
	from /root/ppap-lang/lib/ppap/cli.rb:13:in `exec'
	from /usr/local/ruby-latest/lib/ruby/gems/3.0.0/gems/thor-0.19.4/lib/thor/command.rb:27:in `run'
	from /usr/local/ruby-latest/lib/ruby/gems/3.0.0/gems/thor-0.19.4/lib/thor/invocation.rb:126:in `invoke_command'
	from /usr/local/ruby-latest/lib/ruby/gems/3.0.0/gems/thor-0.19.4/lib/thor.rb:369:in `dispatch'
	from /usr/local/ruby-latest/lib/ruby/gems/3.0.0/gems/thor-0.19.4/lib/thor/base.rb:444:in `start'
	from /root/ppap-lang/exe/ppap:3:in `<top (required)>'
	from /usr/local/ruby-latest/lib/ruby/gems/3.0.0/bin/ppap:23:in `load'
	from /usr/local/ruby-latest/lib/ruby/gems/3.0.0/bin/ppap:23:in `<top (required)>'
	from /usr/local/ruby-latest/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/cli/exec.rb:63:in `load'
	from /usr/local/ruby-latest/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/cli/exec.rb:63:in `kernel_load'
	from /usr/local/ruby-latest/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/cli/exec.rb:28:in `run'
	from /usr/local/ruby-latest/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/cli.rb:494:in `exec'
	from /usr/local/ruby-latest/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
	from /usr/local/ruby-latest/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	from /usr/local/ruby-latest/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
	from /usr/local/ruby-latest/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/cli.rb:30:in `dispatch'
	from /usr/local/ruby-latest/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
	from /usr/local/ruby-latest/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/cli.rb:24:in `start'
	from /usr/local/ruby-latest/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/exe/bundle:49:in `block in <top (required)>'
	from /usr/local/ruby-latest/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
	from /usr/local/ruby-latest/lib/ruby/gems/3.0.0/gems/bundler-2.2.17/exe/bundle:37:in `<top (required)>'
	from /usr/local/ruby-latest/bin/bundle:23:in `load'
	from /usr/local/ruby-latest/bin/bundle:23:in `<main>'

strace