<?xml version="1.0" encoding="UTF-8"?><feed xmlns="http://www.w3.org/2005/Atom">
  <title>cms42-KingOfWA 的博客</title>
  <id>http://pipe.b3log.org/blogs/cms42</id>
  <updated></updated>
  <subtitle>IT or OI? This is a problem.</subtitle>
  <link href="http://pipe.b3log.org/blogs/cms42"></link>
  <entry>
    <title>Jzxx 2029: 【入门】铺地砖</title>
    <updated>2019-11-01T17:47:07+08:00</updated>
    <id>tag:pipe.b3log.org,2019-11-01:/blogs/cms42/articles/2019/11/01/1572604663282</id>
    <link href="http://pipe.b3log.org/blogs/cms42/articles/2019/11/01/1572604663282" rel="alternate"></link>
    <summary type="html">题目点我查看原题题目描述在一个 NN 的正方形房间地面上铺 MM 的正方形地砖，问一共需要多少块这样的地砖？数据保证用这样的地砖能正好铺满房间地面。输入一行：两个整数 N 和 M（1&amp;lt;=M&amp;lt;=N&amp;lt;=1000000，且 NmodM=0）。输出一行：一个整数，表示一共用的地砖块数。数据保证输出的结果 &amp;lt;2147483647。样例输入 84 样例输出 4 提示房间地面大小为 8×8，地砖大小为 4×4，所需的地砖块数=（8×8）÷（4</summary>
    <author>
      <name>cms42</name>
    </author>
  </entry>
  <entry>
    <title>Ubuntu日常折腾 - 手动设置网络</title>
    <updated>2019-08-29T16:33:23+08:00</updated>
    <id>tag:pipe.b3log.org,2019-08-29:/blogs/cms42/articles/2019/08/29/1567067625165</id>
    <link href="http://pipe.b3log.org/blogs/cms42/articles/2019/08/29/1567067625165" rel="alternate"></link>
    <summary type="html">参数：网卡：enps0IP：192.168.1.66 网关：192.168.1.1 子网掩码：255.255.255.0 命令：sudoifconfigenp2s0192.168.1.66netmask255.255.255.0upsudorouteadddefaultgw192.168.1.1devenp2s0ping114.114.114.114 测试一下。nmtui 或 nmcli 设置 DNS。</summary>
    <author>
      <name>cms42</name>
    </author>
  </entry>
  <entry>
    <title>Ubuntu日常折腾 - 软件包依赖冲突怎么办</title>
    <updated>2019-08-29T16:26:41+08:00</updated>
    <id>tag:pipe.b3log.org,2019-08-29:/blogs/cms42/articles/2019/08/29/1567067286589</id>
    <link href="http://pipe.b3log.org/blogs/cms42/articles/2019/08/29/1567067286589" rel="alternate"></link>
    <summary type="html">首先跑一遍 sudoapt-finstall。什么您日常 root 敢死队？不管不管很多问题就这样解决了。解决不了的，自己动手。一般问题是这样的：（A,B 为任意字符串）dpkg:errorprocessingarchiveA2333-B.deb(--unpack):tryingtooverwrite&#39;File1&#39;,whichisalsoinpackageA-B1.233333-3ubuntu2.33333</summary>
    <author>
      <name>cms42</name>
    </author>
  </entry>
  <entry>
    <title>Ubuntu下Intel OpenCL开发环境搭建</title>
    <updated>2019-08-01T21:39:05+08:00</updated>
    <id>tag:pipe.b3log.org,2019-08-01:/blogs/cms42/articles/2019/08/01/1564666769164</id>
    <link href="http://pipe.b3log.org/blogs/cms42/articles/2019/08/01/1564666769164" rel="alternate"></link>
    <summary type="html">请注意：这篇文章并不介绍 OpenCL，只是整合网上相关资料，简单介绍 OpenCL 在 Ubuntu 上的安装。所有内容已经过真机测试，测试系统：Ubuntu18.04 您应当先考虑阅读一下 Ubuntu 下的 OpenCL 环境搭建#安装步骤##Step1.安装驱动安装最新的 Intel 驱动，这个就不说了##Step2.下载 SDK 打开 Intel 官网，下载 SDK。在执行这一步的过程中，您可以先完成 Step3。##Ste</summary>
    <author>
      <name>cms42</name>
    </author>
  </entry>
  <entry>
    <title>Ubuntu下的OpenCL环境搭建</title>
    <updated>2019-08-01T21:05:53+08:00</updated>
    <id>tag:pipe.b3log.org,2019-08-01:/blogs/cms42/articles/2019/08/01/1564664781673</id>
    <link href="http://pipe.b3log.org/blogs/cms42/articles/2019/08/01/1564664781673" rel="alternate"></link>
    <summary type="html">请注意：这篇文章并不介绍 OpenCL，只是整合网上相关资料，简单介绍 OpenCL 在 Ubuntu 上的安装。所有内容已经过真机测试，测试系统：Ubuntu18.04#安装步骤##Step1 安装 clinfosudoaptinstallclinfoclinfo 可以显示当前 OpenCL 平台和设备。##Step2 安装驱动/SDK 请参考我的另外几篇博文：IntelNvidia（待补充）AMD（待补充）##Step</summary>
    <author>
      <name>cms42</name>
    </author>
  </entry>
  <entry>
    <title>算法竞赛常见优化测试(C++)</title>
    <updated>2019-07-27T15:56:04+08:00</updated>
    <id>tag:pipe.b3log.org,2019-07-27:/blogs/cms42/articles/2019/07/27/1564214175618</id>
    <link href="http://pipe.b3log.org/blogs/cms42/articles/2019/07/27/1564214175618" rel="alternate"></link>
    <summary type="html">本文整理并测试、验证了算法竞赛（包括但不限于 NOIP/NOI/ACM/IOI 等）中常用的 C++ 优化技巧。测试代码可在 OI-share 中浏览：GiteeGithub 测试基于 Linux 系统，发行版为 Ubuntu18.04，内核版本 4.15.0-54，CPUi5-7500，内存 8G。输入输出据传输入输出是个容易超时的东东？（以下所有测试基于 NOIP 规则，打开特定输入输出文件）输入 int 测试内容读入 n 和 n 个</summary>
    <author>
      <name>cms42</name>
    </author>
  </entry>
  <entry>
    <title>略谈KMP</title>
    <updated>2019-07-27T12:36:10+08:00</updated>
    <id>tag:pipe.b3log.org,2019-07-27:/blogs/cms42/http://pipe.b3log.org/blogs/cms42/articles/2019/07/23/1563949355084</id>
    <link href="http://pipe.b3log.org/blogs/cms42/http://pipe.b3log.org/blogs/cms42/articles/2019/07/23/1563949355084" rel="alternate"></link>
    <summary type="html">2019-07-2712:36:10 决定还是重写一遍吧注：本文字符串下标改为从\color{red}{1}开始啥是 KMP？在计算机科学中，Knuth-Morris-Pratt 字符串查找算法（简称为 KMP 算法）可在一个主文本字符串 S 内查找一个词 W 的出现位置。此算法通过运用对这个词在不匹配时本身就包含足够的信息来确定下一个匹配将在哪里开始的发现，从而避免重新检查先前匹配的字符。--Wikipedia 给出</summary>
    <author>
      <name>cms42</name>
    </author>
  </entry>
  <entry>
    <title>UVA 442</title>
    <updated>2019-07-24T17:28:53+08:00</updated>
    <id>tag:pipe.b3log.org,2019-07-24:/blogs/cms42/articles/2019/07/24/1563960533130</id>
    <link href="http://pipe.b3log.org/blogs/cms42/articles/2019/07/24/1563960533130" rel="alternate"></link>
    <summary type="html">提出一种新的解法：递归（虽然我明知道这是栈处理表达式的裸题）#include&amp;lt;iostream&amp;gt;#include&amp;lt;algorithm&amp;gt;#include&amp;lt;string&amp;gt;usingnamespacestd;typedefpair&amp;lt;int,int&amp;gt;Mat;Mata[30];//储存字母对应的矩阵 intn,x,y;charc;strings;intps,ls;//ls:字符串 s 的长度 ps:字符串 s 的指针 in</summary>
    <author>
      <name>cms42</name>
    </author>
  </entry>
  <entry>
    <title>UVA 514 - Rails</title>
    <updated>2019-07-19T19:18:00+08:00</updated>
    <id>tag:pipe.b3log.org,2019-07-19:/blogs/cms42/articles/2019/07/19/1563535097008</id>
    <link href="http://pipe.b3log.org/blogs/cms42/articles/2019/07/19/1563535097008" rel="alternate"></link>
    <summary type="html">紫书 P140，栈的模板题。秒切这题的 dalao 请跳过本文这是写给像我一样菜的蒟蒻的题面提交题目题意已知入栈序列 $1,2,3,4,...n，问能否得到出栈序列 Target_1,Target_2,Target_3,...Target_n$（要求每个元素只进栈一次）输入格式单个输入文件中包含若干组数据。每组数据第一行给出 n 之后若干行，每行表示一个询问，每行 n 个数，第 i 个数表示 Target_i，保证为 $1,</summary>
    <author>
      <name>cms42</name>
    </author>
  </entry>
  <entry>
    <title>Hello,World</title>
    <updated>2019-07-19T18:48:00+08:00</updated>
    <id>tag:pipe.b3log.org,2019-07-19:/blogs/cms42/articles/2019/07/19/1563533310402</id>
    <link href="http://pipe.b3log.org/blogs/cms42/articles/2019/07/19/1563533310402" rel="alternate"></link>
    <summary type="html">先把博客架在这里把。前段时间折腾 Hexo,折腾 Jekyll，搞了很久很久（消歧义），最后一气之下把所有东西全部删光又看不惯主流博客平台（点名 CSDN）的泛滥的恶心广告看这玩意还可以，先将就着用用吧先解决用户 80% 的问题，剩下 20% 到时候再说（备战 NOIPing）最后，一句经典名言：Hello,World!</summary>
    <author>
      <name>cms42</name>
    </author>
  </entry>
</feed>