Hog Rider

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

As a responsible Hog Rider who's always there to help their comrades in battle, you need to know whether you're being called to assist or not. The battlecry of your brothers-in-arms is case-insensitive, and consists of the following, in specified order:

-The word "hog", with an arbitrary number of "o"'s (but at least one);
-A space (optional);
-Either "rider" with at least one "i" and at least one "e", or "rida" with at least one "i" and at least one "a", with the latter optionally terminated by a singular "h";
-Zero or more exclamation marks at the end.

tl;dr: if entire input matches
[Hh][Oo]+[Gg] ?[Rr][Ii]+[Dd](([Aa]+[Hh]?)|([Ee]+[Rr]))!*
output 1, otherwise 0

Options

exec is denied

rejudge feature is enabled

now post-mortem time, all source codes will be revealed

Sample input:_

HogRider!!

Sample output:

1

Sample input:_

hOOOOOooooog RIiIIIIIDAH

Sample output:

1

Sample input:_

something that isn't hog rider but may include hog rider

Sample output:

0

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1Sisyphus80.04982022/03/09 20:04:430B / 6B / 2B
2rotary-o80.05012022/03/09 22:23:140B / 6B / 2B

Ruby2 _

RankUserSizeTimeDateStatistics
1rotary-o120.16862022/03/09 22:23:020B / 9B / 3B
2Sisyphus120.16602022/03/10 11:15:350B / 9B / 3B

Perl _

RankUserSizeTimeDateStatistics
1Sisyphus110.04422022/03/10 11:10:150B / 7B / 4B
2tails110.04552022/03/10 13:20:520B / 7B / 4B
3Fleur120.04522022/03/10 11:37:190B / 7B / 5B
4teebee120.04432022/03/11 06:09:250B / 7B / 5B
5tails (alnum)190.04542022/03/11 09:15:590B / 16B / 0B
6Sisyphus (alnum)190.04412022/03/11 14:57:010B / 15B / 0B
7teebee (alnum)210.04522022/03/11 05:04:310B / 18B / 0B

Python _

RankUserSizeTimeDateStatistics
1Sisyphus230.19082022/03/09 20:10:070B / 14B / 9B
2lynn230.12632022/03/10 04:45:570B / 14B / 9B
3Dingledooper230.09012022/03/10 07:32:190B / 14B / 9B
4xnor230.20712022/03/15 11:12:190B / 14B / 9B
5orthoplex230.09342022/03/19 01:54:000B / 14B / 9B
6test250.09082022/03/10 19:13:250B / 16B / 8B

Python3 _

RankUserSizeTimeDateStatistics
1Sisyphus210.13742022/03/09 20:11:070B / 11B / 10B
2Dingledooper210.13962022/03/10 07:32:450B / 11B / 10B
3orthoplex210.14602022/03/19 01:54:160B / 11B / 10B

Scheme _

RankUserSizeTimeDateStatistics
1kaki270.11342022/03/25 21:39:050B / 19B / 7B

JavaScript _

RankUserSizeTimeDateStatistics
1Irratix230.05882022/03/18 23:27:080B / 15B / 8B
2KrausRaus230.05762022/03/19 00:09:300B / 15B / 8B
3Bedstorm230.06022022/03/19 01:40:420B / 15B / 8B
4ZED.CWT230.05862022/03/19 10:36:390B / 15B / 8B
5Irratix ()240.05772022/03/19 00:14:400B / 16B / 8B
6emplv()240.05672022/03/23 15:45:570B / 15B / 9B

J _

RankUserSizeTimeDateStatistics
1Frowny130.10202022/03/20 02:51:280B / ?B / ?B

C _

RankUserSizeTimeDateStatistics
1tails310.04202022/03/09 21:03:150B / 20B / 11B
2McBusLuck320.04242022/03/10 03:50:220B / 21B / 11B
3Irratix320.04162022/03/18 23:41:310B / 21B / 11B
4it only checks the example inputs doesnt it :(370.04252022/03/09 20:47:400B / 20B / 17B

Haskell _

RankUserSizeTimeDateStatistics
1henkma330.04992022/04/06 08:00:470B / 25B / 8B
2lynn360.05272022/03/10 04:35:440B / 23B / 13B

Java _

RankUserSizeTimeDateStatistics
1rotary-o740.15332022/03/09 22:51:210B / 48B / 23B

AWK _

RankUserSizeTimeDateStatistics
1Fleur70.04292022/03/09 20:22:210B / 2B / 5B
2eban70.04272022/03/09 21:07:570B / 2B / 5B
3Fleur ()70.04132022/03/09 22:31:570B / 2B / 5B
4McBusLuck70.04092022/03/10 02:00:480B / 3B / 4B
5teebee70.04222022/03/10 06:20:280B / 2B / 5B

sed _

RankUserSizeTimeDateStatistics
1eban80.04372022/03/09 21:09:310B / 5B / 2B
2tails80.04102022/03/09 21:16:570B / 5B / 2B
3McBusLuck80.04142022/03/10 03:05:410B / 5B / 2B

jq _

RankUserSizeTimeDateStatistics
1eban130.04512022/03/09 20:56:510B / 7B / 6B

Bash _

RankUserSizeTimeDateStatistics
1Fleur90.01932022/03/10 01:22:130B / 6B / 1B
2McBusLuck90.01692022/03/10 01:53:030B / 7B / 1B
3tails90.01732022/03/10 10:47:470B / 6B / 1B
4eban120.01622022/03/09 21:16:550B / 5B / 6B
5Fleur ()120.02152022/03/10 08:01:470B / 7B / 4B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1McBusLuck160.04282022/03/10 02:57:420B / 10B / 4B
2tails160.04352022/03/10 10:19:580B / 10B / 3B

Zsh _

RankUserSizeTimeDateStatistics
1McBusLuck90.05222022/03/10 01:53:080B / 7B / 1B

Fish _

RankUserSizeTimeDateStatistics
1McBusLuck90.07352022/03/10 01:53:130B / 7B / 1B

make _

RankUserSizeTimeDateStatistics
1tails350.05372022/03/09 21:32:310B / 18B / 12B

bc _

RankUserSizeTimeDateStatistics
1McBusLuck230.04292022/03/10 15:33:500B / 11B / 10B
2teebee230.04202022/03/11 04:46:270B / 12B / 10B
3McBusLuck220.04662022/04/07 05:26:090B / 11B / 10B

xgawk _

RankUserSizeTimeDateStatistics
1McBusLuck70.06242022/03/10 02:01:190B / 3B / 4B

Brainfuck _

RankUserSizeTimeDateStatistics
1MeWhenI600.04202022/03/14 12:27:000B / 0B / 60B

Whitespace _

RankUserSizeTimeDateStatistics
1rotary-o360.07772022/03/11 06:35:100B / 0B / 0B

Befunge _

RankUserSizeTimeDateStatistics
1kaki60.04382022/03/25 21:42:080B / 1B / 5B

Befunge-98 _

RankUserSizeTimeDateStatistics
1kaki60.09152022/03/25 21:43:010B / 1B / 5B

Hexagony _

RankUserSizeTimeDateStatistics
1MeWhenI70.07842022/03/14 13:09:580B / 1B / 6B
2McBusLuck90.07692022/03/11 04:46:350B / 1B / 8B

><> _

RankUserSizeTimeDateStatistics
1fish40.18252022/03/13 16:51:190B / 3B / 1B
2fish (alnum)40.17862022/03/14 12:15:300B / 4B / 0B

GolfScript _

RankUserSizeTimeDateStatistics
1lynn40.07322022/03/10 04:44:510B / 1B / 3B
2lynn(sym)40.06012022/03/10 04:48:480B / 0B / 4B
3tails40.06332022/03/10 09:55:350B / 2B / 2B

gs2 _

RankUserSizeTimeDateStatistics
1tails20.20632022/03/09 20:22:541B / 1B / 0B

Nibbles _

RankUserSizeTimeDateStatistics
1tails30.05412022/03/10 09:54:382B / 1B / 0B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik40.04602022/03/10 05:11:130B / 3B / 1B

FerNANDo _

RankUserSizeTimeDateStatistics
1test1330.13192022/03/10 03:17:330B / ?B / ?B
2tails330.12302022/03/10 10:02:530B / 17B / 0B

CLC-INTERCAL _

RankUserSizeTimeDateStatistics
1鳴神裁4.1号630.43022022/03/11 18:06:252B / ?B / ?B

Lazy-K _

RankUserSizeTimeDateStatistics
1tails620.04692022/03/09 20:54:500B / 36B / 26B

z80 _

RankUserSizeTimeDateStatistics
1tails90.04622022/03/10 11:15:237B / 2B / 0B
2McBusLuck90.04192022/03/10 15:42:147B / 2B / 0B

DOS _

RankUserSizeTimeDateStatistics
1McBusLuck87.71742022/03/10 15:44:394B / 2B / 2B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o184.52062022/03/09 22:50:500B / 14B / 4B

Logo _

RankUserSizeTimeDateStatistics
1teebee190.04712022/03/11 04:57:160B / 12B / 4B

Language Ranking_

RankLangUserSizeScore
1gs2tails210000
2Nibblestails36666
3GolfScriptlynn45000
4BurlesqueHendrik45000
5><>fish45000
6Befungekaki63333
7Befunge-98kaki63333
8AWKFleur72857
9xgawkMcBusLuck72857
10HexagonyMeWhenI72857
11RubySisyphus82500
12sedeban82500
13DOSMcBusLuck82500
14BashFleur92222
15ZshMcBusLuck92222
16FishMcBusLuck92222
17z80tails92222
18PerlSisyphus111818
19Ruby2rotary-o121666
20jqeban131538
21JFrowny131538
22Bash (builtins)McBusLuck161250
23Scalarotary-o181111
24Logoteebee191052
25Python3Sisyphus21952
26bcMcBusLuck22909
27PythonSisyphus23869
28JavaScriptIrratix23869
29Schemekaki27740
30Ctails31645
31FerNANDotest133606
32Haskellhenkma33606
33maketails35571
34Whitespacerotary-o36555
35BrainfuckMeWhenI60333
36Lazy-Ktails62322
37CLC-INTERCAL鳴神裁4.1号63317
38Javarotary-o74270

return to the top page