Skip to content

Instantly share code, notes, and snippets.

View ochukai's full-sized avatar
🎯
Focusing

Oliver Wang ochukai

🎯
Focusing
  • Weaver
  • Shanghai
  • 20:48 (UTC +08:00)
View GitHub Profile
@ochukai
ochukai / dummy.js
Created August 24, 2017 02:26
环坐报数然后走的一个题目,求最后谁留下~
function Person(num) {
this.next = null; // 隔壁是谁
this.num = num; // 编号
this.isLeave = 0; // 没走
}
var max = 100;
var all = [];
for (var i = 0; i < max; i ++) {
// 初始化 1-100 人的编号
/**
* ueditor完整配置项
* 可以在这里配置整个编辑器的特性
*/
/**************************提示********************************
* 所有被注释的配置项均为UEditor默认值。
* 修改默认配置请首先确保已经完全明确该参数的真实用途。
* 主要有两种修改方案,一种是取消此处注释,然后修改成对应参数;另一种是在实例化编辑器时传入对应参数。
* 当升级编辑器时,可直接使用旧版配置文件替换新版配置文件,不用担心旧版配置文件中因缺少新功能所需的参数而导致脚本报错。
**************************提示********************************/
page {
line-height: 1.6;
font-family: -apple-system-font, "Helvetica Neue", sans-serif;
}
icon {
vertical-align: middle;
}
.weui-cells {
position: relative;
margin-top: 1.17647059em;