![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
静夜思
文章平均质量分 71
zwvista
这个作者很懒,什么都没留下…
展开
-
趣味编程:静夜思(Javascript版)
静夜思(Javascript版)原创 2014-09-23 16:12:38 · 3253 阅读 · 0 评论 -
趣味编程:静夜思(Functional Java版)
静夜思(Functional Java版)原创 2017-05-04 22:38:46 · 1388 阅读 · 0 评论 -
趣味编程:静夜思(Kotlin版)
import java.util.*fun verticalWriting(txt:String, offset:Int) { txt.mapIndexed { i, c -> Pair<Int, Char>(i, c) } .groupByTo(TreeMap(), {it.first % offset}, {it.second.toString()}) .原创 2017-08-01 19:15:37 · 531 阅读 · 0 评论 -
趣味编程:静夜思(Swift版)
// https://stackoverflow.com/questions/31220002/how-to-group-by-the-elements-of-an-array-in-swiftextension Sequence { func group<GroupingType: Hashable>(by key: (Iterator.Element) -> GroupingType)原创 2017-08-01 19:10:32 · 1059 阅读 · 0 评论 -
趣味编程:静夜思(Haskell版)
趣味编程:静夜思(Haskell版)原创 2015-05-15 20:37:21 · 1746 阅读 · 0 评论 -
趣味编程:静夜思(Scala版)
静夜思(Scala版)原创 2015-07-16 20:59:19 · 1498 阅读 · 0 评论 -
趣味编程:静夜思(F#3.0版)
静夜思(F#3.0版)原创 2015-05-28 14:09:13 · 1539 阅读 · 0 评论 -
趣味编程:静夜思(C++11版)
趣味编程:静夜思(C++11版)原创 2013-02-14 09:27:05 · 3519 阅读 · 0 评论 -
趣味编程:静夜思
C#版本摘自老赵点滴 - 追求编程之美 C#代码using System;using System.Linq;using System.Text;namespace ConsoleApplication1{ class Program { static void Print(string text, int offset) {原创 2010-04-16 01:00:00 · 2117 阅读 · 0 评论 -
趣味编程:静夜思(Java8版)
静夜思(Java8版)原创 2014-05-22 19:15:28 · 2606 阅读 · 0 评论