Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #56729

Re: Forth on spoj.com

From rickman <gnuarm@gmail.com>
Newsgroups comp.lang.forth
Subject Re: Forth on spoj.com
Date 2017-04-04 16:12 -0400
Organization A noiseless patient Spider
Message-ID <oc0uid$mlb$2@dont-email.me> (permalink)
References <189bb751-d153-48a5-afd4-894c32aefe5a@googlegroups.com> <2017Feb18.080616@mips.complang.tuwien.ac.at> <oc059n$ibs$1@cherry.spenarnc.xs4all.nl> <7123b88b-9f11-45b1-851a-be268d501d96@googlegroups.com> <b74187f8-7dee-4539-b0db-b4193256059b@googlegroups.com>

Show all headers | View raw


On 4/4/2017 10:52 AM, Julian Fondren wrote:
> On Tuesday, April 4, 2017 at 9:40:52 AM UTC-5, Mark Wills wrote:
>> KISS:
>>
>> : 42? ( --) begin tib @ 80 expect bl word number drop 42 <> while repeat ;
>
> This fails to echo numbers prior to 42
> It fails to continue to accept input after the 42.
>
> As silly as the problem is, you can submit Forth solutions to see if they pass:
> http://www.spoj.com/problems/TEST/

I can't get any to pass and with no output I have no idea why.  I saw 
comments in another problem where the specification has to be 
interpreted to say each line had to end with a space.  I don't have a 
lot of interest in trying to solve riddles with no way of figuring out 
what you are doing wrong.

-- 

Rick C

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Forth on spoj.com Julian Fondren <julian.fondren@gmail.com> - 2017-02-17 21:29 -0800
  Re: Forth on spoj.com anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-02-18 07:06 +0000
    Re: Forth on spoj.com Julian Fondren <julian.fondren@gmail.com> - 2017-02-18 05:42 -0800
      Re: Forth on spoj.com anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-02-18 14:56 +0000
        Re: Forth on spoj.com Julian Fondren <julian.fondren@gmail.com> - 2017-02-18 12:58 -0800
          Re: Forth on spoj.com albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2017-02-19 11:35 +0100
    Re: Forth on spoj.com albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2017-04-04 14:58 +0200
      Re: Forth on spoj.com Mark Wills <markwills1970@gmail.com> - 2017-04-04 07:40 -0700
        Re: Forth on spoj.com Julian Fondren <julian.fondren@gmail.com> - 2017-04-04 07:52 -0700
          Re: Forth on spoj.com albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2017-04-04 17:36 +0200
          Re: Forth on spoj.com Mark Wills <markwills1970@gmail.com> - 2017-04-04 09:05 -0700
            Re: Forth on spoj.com NN <november.nihal@gmail.com> - 2017-04-04 11:22 -0700
            Re: Forth on spoj.com Julian Fondren <julian.fondren@gmail.com> - 2017-04-04 11:33 -0700
              Re: Forth on spoj.com albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2017-04-05 02:12 +0200
          Re: Forth on spoj.com rickman <gnuarm@gmail.com> - 2017-04-04 16:12 -0400
  Re: Forth on spoj.com Julian Fondren <julian.fondren@gmail.com> - 2017-02-19 22:59 -0800
  Re: Forth on spoj.com Lars Brinkhoff <lars.spam@nocrew.org> - 2017-04-03 20:06 +0200

csiph-web