This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def qsort (arr, left=0, right=arr.length-1, pl=left, pr=right) | |
x = arr[(left+right)/2] | |
begin | |
pl+=1 while arr[pl] < x | |
pr-=1 while arr[pr] > x | |
arr[pl], arr[pr] = arr[pr], arr[pl] | |
end while arr[pl] != arr[pr] | |
qsort(arr, left, pl-1) if pl-left > 1 | |
qsort(arr, pr+1, right) if right-pr > 1 | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_=-~-~-~[];__=[][(![]+[])[_-_]+([][[]]+[])[_+_-_/_]+(![]+[])[_-_/_]+(!![]+[])[_-_]+(!![]+[])[_]+(!![]+[])[_/_]]+[];___=__[_]+__[_+_]+__[_-_/_]+(![]+[])[_]+(!![]+[])[_-_]+(!![]+[])[_/_]+(!![]+[])[_-_/_]+__[_]+(!![]+[])[_-_]+__[_+_]+(!![]+[])[_/_];___[___][___]((![]+[])[_/_]+(![]+[])[(_+_)/_]+(!![]+[])[_]+(!![]+[])[_/_]+(!![]+[])[_-_]+"(\""+'\\'+(([][[]]+[])[_-_])+(_)+(_-_)+(_+_/_)+(_+_)/_+"\");")(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in range(1,101):print(i%3<1)*'Fizz'+(i%5<1)*'Buzz'or i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## お好み焼き | |
+ 小麦粉をだし汁で溶く | |
+ 刻んだキャベツを入れる | |
+ 卵を入れる | |
+ 混ぜる | |
+ フライパンで焼く | |
+ ソースかける | |
+ かつおぶしをふりかける | |
+ 青海苔をちらす | |
+ 好みで紅生姜をのせる |