自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

more time

懂得越多 做得越快 不加班

  • 博客(47)
  • 收藏
  • 关注

原创 KillCopy Copy Faster

Windows自带的复制 复制多文件的时候就显得很慢,这是就要祭出神器 KillCopy KillCopy 真的很快!

2016-04-27 18:23:20 642

原创 Ubuntu Intellij IDEA 配置

首先必须装好JDK 下载idea 然后解压,随便放在一个文件夹内 推荐/home/ 然后进入终端 进入bin/ 执行 ./idea.sh 就可以运行了 初次运行需要配置JDK 要选择opt里的那个

2016-04-26 20:36:16 1062

原创 Ubuntu Use Windows Font

Windows字体文件在 Windows/Fonts 文件夹下需要的是 阅读字体 微软雅黑 3个文件 msyh.ttc msyhbd.ttc msyhl.ttc 编程字体 Consolas 4个文件 consola.ttf consolab.ttf consolai.ttf consolaz.ttf点开,右上install 就能安装了

2016-04-25 17:30:08 394

原创 计蒜客 11066 A letter from Chensg

#include <cstdio>#include <string>#include <iostream>#include <map>#include <set>using namespace std;void solve(){ map<string, int> mymap; int m; scanf("%d\n", &m); for (int i = 0; i < m

2016-04-24 16:34:16 378

原创 计蒜客 11064 大钉骑马走江湖

#include <cstring>#include <cstdio>#include <iostream>#include <queue>using namespace std;int n, m;const int maxn = 100 + 9;const int inf = 1e8;char g[maxn][maxn];struct V{ int x, y; V(in

2016-04-24 15:50:06 452

原创 计蒜客 11070 Ivan 的等待焦虑症发作了

#include <cmath>#include <cstdio>#include <iostream>using namespace std;int n, x;const int maxn = 4 + 9;const int maxt = 30 + 9;int a[maxn];int b[maxt];void solve(){ for (int i = 0; i < n;

2016-04-24 15:35:04 566

原创 计蒜客 11069 易彰彪的一张表

#include <cstdio>#include <iostream>#include <string>using namespace std;int main(){// freopen("input.txt", "r", stdin); int n, m; while (scanf("%d%d\n", &n, &m) != EOF) { string s; fo

2016-04-24 14:51:58 714

原创 计蒜客 11063 喝酒

http://www.jisuanke.com/minicourse/1410/9191import java.util.Scanner;/** * Created by YY on 4/24/2016. */public class Main { public static void main(String args[]) { Scanner cin = n

2016-04-24 13:18:31 394

原创 Android Studio Install

必须翻墙 下载 只有装了JDK才能运行 运行之后又要装一点库 然后就可以用了

2016-04-23 22:26:10 444

原创 JDK

下载环境变量 非常重要!Path JDK\bin ClassPath JDK\lib\dt.jar JDK\lib\tools.jar JAVA_HOME JDKJDK为JDK的安装路径 全部都要写绝对路径

2016-04-23 22:24:02 348

原创 C++ MyClass Date

include include using namespace std; const int month[13] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; const int h[10] = {6, 2, 5, 5, 4, 5, 6, 3, 7, 6}; struct Date { int yy, mm, dd;

2016-04-23 14:10:26 783

原创 C# Hello World WinForm

文件 新建 项目 Visual C# Windows 窗体应用程序 调出 解决方案资源管理器(如果没有就视图里找) 调出 工具箱 拖一个Label进去 右键 属性 Text 改成空 拖一个Button进去 Text 改成 显示 双击进去 加上 this.label1.Text = "Hello World, WinForm \n 你好世界 Windows 窗体";label1就是刚

2016-04-23 10:42:14 734

原创 C# Hello World

打开VS 文件 新建 项目 控制台程序 在 static void Main(string[] args)加入 Console.WriteLine("Hello World 你好世界"); Console.ReadLine();点绿色启动button就可以运行了

2016-04-23 10:15:26 285

原创 Visual Studio Visual C++

首先要装C++ 装的时候不用自定义 全选 就有C++了文件 新建 模板 Visual C++ Win32 Win32控制台程序 确定 。。。。。。进去就有一个CPP文件 直接在那里面写 ,,, 点绿色启动 就可以运行了

2016-04-22 19:59:32 661

原创 Git

下载Git下载Git初步配置官方教程 参照这个 来进行初步配置TortoiseGit配置下载TortoiseGit、 有中文包可选Clone在code.csdn.net创建一个新项目 在本地找个文件夹 右键克隆 URL必须是Https才可以 (貌似用一次 后面的也可以用Git)Commit右键Commit就好Push这个只能用https 第一次会提示输入密码 是CSDN 的密码。。

2016-04-22 10:52:37 265

原创 Python Calculator

概述命令行的Python可以当个计算器用 还可以输入算式,比Win10自带的好用 下载技巧小数要算小数必须加上.0,不然默认Int开方不能直接用sqrt 必须先import math 再math.sqrt(x)才行

2016-04-18 19:16:57 943

原创 NJUST 1920 偷吃糖果

#include <iostream>#include <string>#include <cstdio>using namespace std;void solve(){ string s; cin >> s; string s1; for (int i = 0; i < s.size(); i++) { char c = s[i]; while (i

2016-04-17 15:50:31 393

原创 NJUST 1925 sequence

include include include using namespace std; void solve() { list mylist; int n; scanf(“%d”, &n); for (int i = 0; i < n; i++) { int x; scanf(“%d”, &x); mylist.push_back(x

2016-04-17 15:41:17 362

原创 DiskGenius Disk Manager

WIndows自带的磁盘管理不是很好用 推荐一个 DiskGenius 免费版就已经可以处理大部分问题了,非常良心

2016-04-17 12:12:13 533

原创 Microsoft RDP

必须是Windows 专业版 或 企业版 才有这个功能Windows端配置参考最后一步可以用 ipconfig这个命令来看Ipv4Android端配置下载安卓端APP左边 User accounts 配置用户 如果是本地用户 就是本地用户名 密码不能为空 不然会提示 如果是Windows ID 用户,就是那个 然后就可以连接了有鼠标模式和触屏模式两种就可以体验有触屏的Windows了

2016-04-16 10:02:54 796

原创 MySQL Workbench

MySQL Workbench File->new model File->import reverse Engineer MySQL create script 导入需要的*.sql文件在model overview中 点 add diagram进入EER Diagram 从左边catalog tree中 把表拖入就好了还可以加连线

2016-04-16 09:50:19 438

原创 WampServer Install

安装首先下载 WampServer 推荐用 2.5版的 下好了以后一路安装 比如安装在 C:\wamp 在这个文件夹内写PHP就可以运行了 C:\wamp\www修改密码默认密码是空,不安全 点wamp图标 MySQL MySQL控制台 输入以下命令 use mysql update user set password=PASSWORD(‘123456’) where u

2016-04-15 12:34:10 391

原创 ECUST Windows + Office

进入华东理工大学信息化办公室 正版化软件 下载需要的 必须连接华理校园网才能下载 下好了以后用UUI安装 进入安装好的系统以后 连接校园网(不需要登陆) 进入 command prompt (admin) 输入 cd c:\windows\system32 slmgr.vbs /skms kms.ecust.edu.cn:1688 slmgr.vbs /ato 这样就激活好了

2016-04-13 21:05:29 777

原创 Remix OS for PC

去官网下载 找个U盘 按照说明烧录 (也可以用UUI烧录,选择 Try Unlisted Linux ISO) 然后重启 以下内容只适合华硕笔记本 先按F2 设置一下 1.把Boot 里面的fast boot disabled 掉 2.进入Security Secure Boot menu 将Secure boot control disabled 掉 3.Save & Ex

2016-04-12 12:06:12 703

原创 Windows 10 iso

进入Windows 10 选立刻下载工具下载好了运行 按照相关操作就好预装windows8以后的电脑密钥都是写在主板上的 所以安装好了镜像以后 一旦联网了 就成了正版了

2016-04-10 15:56:15 1018

原创 C++ forward_list::::insert_after

原文 可以在后面插 别的同list::insert// forward_list::insert_after#include <iostream>#include <array>#include <forward_list>using namespace std;int main (){ array<int,3> myarray = { 11, 22, 33 }; forwa

2016-04-09 12:17:21 1044

原创 CodeBlocks C++11

CodeBlocks默认不支持C++11 需要 Settings->Compiler 勾选 Have g++ follow the C++11 ISO C++ language standard 然后就可以编译了

2016-04-09 12:13:51 549

原创 Clion Windows Install

Clion是Jetbrains开发的C/C++ IDE 和他们的别的IDE 一样6再装MinGW 装好MinGW以后Installation->updated catelogue 把Basic setup全都选中 Installation->apply changes再进Clion File->Settings Build, Execution, Deployment Use MinG

2016-04-09 10:59:01 450

原创 Python for

for i in range(0, 10):相当于 for (int i = 0; i < 10; i++)

2016-04-07 22:35:54 266

原创 Ubuntu Install ATOM

去ATOM官网下载 选择下载deb的 然后一路next,输入密码,就装好了 启动还是比windows下要快一点的

2016-04-06 19:47:22 333

原创 Ubuntu Codeblocks

1.把系统更新。选择软件更新器就可以了 2.在软件市场安装或者apt-get 安装codeblocks都可以 3.记得加缩进插件 4.如果编译不了C++就apt-get install g++ 5.在Settings->Enviornment Terminal to launch console programs里选择 gnome里 如果没有 就apt-get 安装一个 6.改字体先把

2016-04-06 19:30:26 564

原创 Android Signed APK

Build->Generate Signed APK 先要做一个数字证书 还有有alias 别名 做好了一路next就是了

2016-04-06 14:09:54 661

原创 UVa 540 Team Queue

请参考佳佳的书#include <cstdio>#include <iostream>#include <map>#include <queue>using namespace std;const int maxt = 1000 + 9;int t = 0;map<int, int> team;void solve(){ for (int i = 0; i < t; i++)

2016-04-06 11:33:32 295

原创 C++ vector::resize

原文 myvector.resize(n); resize可以调整vector成n个元素 myvector.resize(n, val); 还可以带参数 val 这样如果当前vector的size < n,多出来的就会用 val填充// resizing vector#include <iostream>#include <vector>using namespace std;int

2016-04-04 13:25:59 465

原创 C++ set_union

原文set_union可以合并两个排好序的区域

2016-04-04 13:17:38 910

原创 C++ inserter

原文 inserter可以获得一个插入迭代器 ins_it = inserter(foo, it)) ins_it 获得一个 foo容器里面 it迭代器后面的插入迭代器 再调用这个ins_it迭代器就可以在foo后面插 是插入不是覆盖#include <iostream> // std::cout#include <iterator> // std::front_inse

2016-04-04 13:06:29 1471

原创 C++ copy

原文 copy可以拷贝一段范围,然后粘贴到一个迭代器里copy(myints, myints + n, myvector.begin());拷贝myints里,再粘贴到 myvector里// copy algorithm example#include <iostream> // std::cout#include <algorithm> // std::copy#inclu

2016-04-04 12:55:56 536

原创 C++ advance

原文 advance (it, n); 可以将it迭代器往后移动n个 如果n为负数 就往前启动n个#include <iostream> // std::cout#include <iterator> // std::advance#include <list> // std::listusing namespace std;int main (){

2016-04-04 12:49:43 1211

原创 C++ vector

vector是不定长数组vector<int> myvector;就可以定义一个类型是int的vector了push_back(x)在尾部插入一个x

2016-04-04 11:43:33 248

原创 C++ map

map是一个是一个可以使用key => value的数组map<int, int> mymap;就可以定义一个 mymap的map类型count 判断key是否存在bool mymap.count(key)

2016-04-04 11:40:34 315

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除