Bash Submission Problem in Weird Subtraction

Here’s my submission in bash.

When I test it with custom input (in toph), it works. but when I tested or submitted it gives me runtime error even though the code is fine.

1 Like

The test inputs of this problem had CRLF line endings. Drafts usually detects this issue and reports it to the problem authors. But in this case the problem is older than when this feature was added to Drafts.

The test cases have been updated and your submission has been rejudged.

Thanks for reporting this!

1 Like

Hey @hjr265 .

Here’s my ruby submission in Alayna and Vowels | Toph

I tested it locally and in online interpreters. In both places, it works fine. But in toph, it prints nothing.

Am I doing something wrong? Cuz I’m not that fluent in Ruby.

Didn’t open a new topic as this is a similar problem.

@hjr265 Another one.

I think there’s some kind of problem in Ruby compilers.

Works fine in Online compilers. Even tested it with older versions of Ruby, it works fine. Just getting problem in toph.

Please have a look

Hey @hjr265, You’ve been offline for a while. Can you please check this out?

1 Like

@Nusab19 Thanks for being patient with this. Yes, I was away most of the time for the last couple of months.

The issue with the Ruby submissions have been fixed.

Your submission, along with some other recently affected Ruby submissions, have been rejudged.

1 Like