pig latin

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

Convert each word in input to "pig latin".

Rules:
1. If the word begins with a vowel (not including y), just add "yay" to the end of it.
2. If the word begins with a consonant, move all of the consonants before the first vowel to the end, and append "ay".

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

english
piglatin
golfing
tsundere
banana
shinh
popcorn
fortnite
string
supercalifragilisticexpialidocious
moist
anime
yay
teebee

Sample output:

englishyay
iglatinpay
olfinggay
underetsay
ananabay
inhshay
opcornpay
ortnitefay
ingstray
upercalifragilisticexpialidocioussay
oistmay
animeyay
ayyay
eebeetay

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1mitchs460.01092019/10/05 23:04:190B / 13B / 30B
2clock460.01082019/10/14 23:51:370B / 15B / 28B
3Histocrat470.01082019/10/02 12:29:440B / 13B / 31B
4tmtms550.01082019/10/07 22:56:300B / 16B / 35B

Ruby2 _

RankUserSizeTimeDateStatistics
1llhuii460.05072019/10/13 20:58:430B / 15B / 28B
2clock460.04962019/10/14 23:52:200B / 15B / 28B
3letranger470.05152019/10/02 21:49:170B / 19B / 25B
4rotary-o470.07612019/10/05 20:16:250B / 21B / 25B
5tmtms540.05282019/10/07 22:56:500B / 16B / 34B

Perl _

RankUserSizeTimeDateStatistics
1llhuii360.01462019/10/13 14:24:240B / 17B / 19B
2tails360.03812019/10/15 09:00:160B / 17B / 19B
3Dingledooper450.01072019/10/02 15:30:080B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1mitchs710.09642019/10/03 11:35:540B / 42B / 26B
2llhuii710.02422019/10/04 23:59:420B / 42B / 27B
3clock710.02842019/10/11 00:04:510B / 42B / 26B
4hallvabo (embed)720.02282019/10/16 10:18:240B / 40B / 31B
5Dingledooper780.02592019/10/06 08:20:130B / 44B / 32B
6hallvabo850.02352019/10/03 18:41:170B / 49B / 27B
7rolf870.03162019/10/13 21:26:100B / 51B / 26B
8McBusLuck1060.02332019/10/02 22:20:520B / 59B / 36B
9hallvabo (embed)710.02372019/10/16 11:51:341B / 38B / 30B
10clock(nocheat)770.02502019/10/16 12:27:470B / 44B / 29B
11mitchs ()820.02342019/10/16 12:11:240B / 48B / 29B

Python3 _

RankUserSizeTimeDateStatistics
1mitchs670.03972019/10/05 14:05:1710B / 29B / 25B
2llhuii670.07262019/10/13 14:14:3610B / 29B / 25B
3mypetlion690.04332019/10/11 05:55:150B / 39B / 28B

Scheme _

RankUserSizeTimeDateStatistics
1kaki810.03802019/10/15 18:54:150B / 40B / 41B
2kaki800.03882019/10/16 15:10:270B / 40B / 40B

JavaScript _

RankUserSizeTimeDateStatistics
10mg620.01312019/10/03 17:19:161B / 33B / 28B

Lua _

RankUserSizeTimeDateStatistics
1clock730.01092019/10/13 22:37:230B / 36B / 36B

C _

RankUserSizeTimeDateStatistics
1llhuii740.01052019/10/16 10:46:260B / 38B / 36B
2tails750.01052019/10/15 13:09:040B / 41B / 34B
30mg780.01052019/10/13 13:01:430B / 41B / 37B

Haskell _

RankUserSizeTimeDateStatistics
1henkma800.01492019/10/13 14:50:540B / 42B / 37B
2kaki800.00442019/10/15 18:17:550B / 42B / 37B
3_820.01472019/10/02 13:07:470B / 45B / 36B

AWK _

RankUserSizeTimeDateStatistics
1llhuii340.01042019/10/13 23:18:170B / 15B / 17B

sed _

RankUserSizeTimeDateStatistics
1mitchs380.01052019/10/05 15:53:270B / 12B / 25B
2clock380.01052019/10/06 00:00:540B / 12B / 25B
3tails380.01062019/10/09 11:48:290B / 12B / 25B
4_390.01052019/10/02 16:31:550B / 13B / 25B
5kaki390.01302019/10/15 19:03:580B / 13B / 25B
6McBusLuck400.01042019/10/14 00:31:570B / 15B / 25B
7eban420.01052019/10/03 10:04:550B / 14B / 27B
8Dingledooper430.01062019/10/03 08:52:540B / 16B / 26B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails480.01452019/10/02 13:22:310B / 19B / 22B
2llhuii480.01322019/10/13 20:57:500B / 20B / 24B

wake _

RankUserSizeTimeDateStatistics
1clock430.01332019/10/11 01:13:020B / 15B / 27B
2tails430.01952019/10/16 10:34:140B / 15B / 27B

xgawk _

RankUserSizeTimeDateStatistics
1llhuii340.01922019/10/13 23:18:490B / 15B / 17B

m4 _

RankUserSizeTimeDateStatistics
1tails700.01062019/10/10 15:46:100B / 36B / 34B
2pooq1580.02552019/10/03 11:14:340B / ?B / ?B

Postscript _

RankUserSizeTimeDateStatistics
1pooq1610.22032019/10/08 05:19:440B / ?B / ?B
2rolf1880.07082019/10/14 05:10:4352B / 82B / 40B

R _

RankUserSizeTimeDateStatistics
1clock770.11002019/10/15 08:59:140B / 34B / 40B

gs2 _

RankUserSizeTimeDateStatistics
1tails210.08522019/10/03 09:08:146B / 8B / 6B
2whio210.06062019/10/10 06:12:306B / 9B / 6B

Burlesque _

RankUserSizeTimeDateStatistics
1clock370.01252019/10/13 21:54:130B / 14B / 23B

Scala _

RankUserSizeTimeDateStatistics
1clock731.84982019/10/13 21:27:540B / 43B / 29B
2rotary-o792.50282019/10/14 02:27:140B / 50B / 28B

Language Ranking_

RankLangUserSizeScore
1gs2tails2110000
2AWKllhuii346176
3xgawkllhuii346176
4Perlllhuii365833
5Burlesqueclock375675
6sedmitchs385526
7wakeclock434883
8Rubymitchs464565
9Ruby2llhuii464565
10Bash (builtins)tails484375
11JavaScript0mg623387
12Python3mitchs673134
13m4tails703000
14Pythonmitchs712957
15Scalaclock732876
16Luaclock732876
17Cllhuii742837
18Rclock772727
19Haskellhenkma802625
20Schemekaki802625
21Postscriptpooq1611304

return to the top page