上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 43 下一页
摘要: 昨天早上,我给从球王那要来的电脑上重装了 Ubuntu 16.04 。一开始发现网速比较慢(插着网线)且断断续续,后来索性没有网了。我折腾了一阵,就差没再次重装系统了。偶然在学弟的提醒下发现,原来没网的原因是我不小心将【点击了桌面左上角的网络状态图标(接网线时是上下两个箭头)后出现的那个菜单】里的 阅读全文
posted @ 2017-09-19 02:40 Pat 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 题意 $\DeclareMathOperator{\lcm}{lcm}$选 $k$ ($k\le 10$) 个 $1$ 到 $n$($n\le 10^9$)之间的整数(可以相同),使得 $\lcm(a_1, \dots, a_k)$ 最大。 题解 这是 hihoCoder 挑战赛 6 的 B 题,C 阅读全文
posted @ 2017-09-12 19:27 Pat 阅读(186) 评论(0) 推荐(0) 编辑
摘要: ```c++ struct dl{ // x: line, y: column struct node{ int c, left, right, up, down; }; vector a; using vec = vector; using mat = vector; vec cnt; // 构造 阅读全文
posted @ 2017-09-06 15:30 Pat 阅读(315) 评论(0) 推荐(0) 编辑
摘要: EXTRACTED from the Django document It's a common need to filter down the objects given in a list page by some key in the URL. Handily, the has a metho 阅读全文
posted @ 2017-08-12 00:58 Pat 阅读(161) 评论(0) 推荐(0) 编辑
摘要: A view is a callable which takes a request and returns a response. A view can be function (function based view) or a class (class based view). Class b 阅读全文
posted @ 2017-08-09 17:22 Pat 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 2017 年 6 月 28 日,Eclipse 社区(the Eclipse Community)发布了 "Eclipse Oxygen" 。本文记录了我在 Ubuntu 16.04 上安装 Eclipse Oxygen 遇到的问题,并给出了解决办法。 请勿从 Eclipse Neon 升级到 Ec 阅读全文
posted @ 2017-08-07 19:16 Pat 阅读(631) 评论(0) 推荐(0) 编辑
摘要: For the purpose of this article, ECMA 262 refers to ECMAScript® 2017 Language Specification . ECMAScript Data Types & Values Each value has an associa 阅读全文
posted @ 2017-08-02 20:10 Pat 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 最近在尝试用 JavaScript (Node.js) 写题。为此,特地看了 "ECMAScript 2017 Language Specification" (大雾)。写题一般是从文件输入,确切地说是,将 stdin 重定向到文件。在C/C++ 中这可以通过 函数很方便地实现, 因而想知道 Nod 阅读全文
posted @ 2017-07-31 17:32 Pat 阅读(484) 评论(0) 推荐(0) 编辑
摘要: Links to the Django documents: "the Django template language" "automatically generated context variable" "generic views of objects" 阅读全文
posted @ 2017-07-24 20:54 Pat 阅读(131) 评论(0) 推荐(0) 编辑
摘要: GNU find searches the directory tree rooted at each given starting point by evaluating the given expression from left to right, according to the rules 阅读全文
posted @ 2017-07-18 16:16 Pat 阅读(257) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 43 下一页