学习日记
每日的学习积累
前程似锦蝈蝈
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
《编程珠玑》第二章 问题C
#include<iostream> #include<fstream> #include<algorithm> #include<vector> using namespace std; static bool com(pair<string, string> a, pair<string, string> b) { if (a.first != b.first) return a.first < b.first; else原创 2020-11-20 20:23:17 · 171 阅读 · 0 评论 -
dfs bfs应用实例,油漆桶应用实例
#include<stdio.h> struct note { int x; int y; }; int main() { struct note que[2501]; int head, tail; int a[51][51]; int book[51][51] = { 0 }; int i, j, k, sum, max = 0, mx, my, n, m, star...原创 2020-03-08 22:14:26 · 208 阅读 · 0 评论 -
What advice would you give to a Computer Science major student that you wish you were given when you
Originally Answered: What advice would you give a computer science student that you wish you had known when you started computer science? Write tests for your code. I wrote a longer answer about this here. Do not expect to be given much instruction about .原创 2020-08-26 11:42:07 · 715 阅读 · 0 评论 -
学习使用markdown
标题 一级标题 二级标题 三级标题 四级标题 五级标题 六级标题 加粗字体 iajgoaogjoiajojgaojgoj该机构地方金澳国际佛埃及高工i(一堆乱码) 佛i啊警告i(斜体)左右一颗* 佛埃及高工 (斜体加粗) 左右三颗* 无序列表 实现效果 是这样子 以及这样 还有这样 引用 这个是个引用 这个要隔行 超链接 百度搜索 代码块 单行字符用 表示 单行字符用 `表示 #inlcude<iostream> int main() {} 多行代码用三个 `表示。 水原创 2020-08-17 12:29:44 · 193 阅读 · 0 评论 -
linux执行c or cpp程序
原创 2020-07-19 21:07:07 · 160 阅读 · 0 评论 -
使用pip获取github上的代码库
1,绑定电脑与github账户的链接 a. 建个仓库 b. 在一个空文件夹上进入git bush 输入ssh-keygen -t rsa -C "email@.com" 回车三次 在c盘user文件夹生成 .ssh文件。 b.点头像进入setting,点击SSH and GPG keys 点击newSSHkeys c. 将ssh文件粘贴进文本框。 d.在bush输入 ssh -T git@github.com 查看是否成功绑定。 2, 上传代码 a. git config --globa原创 2020-07-18 11:44:18 · 1447 阅读 · 0 评论 -
如何测量程序运行时间
#include<stdio.h> #include<time.h> clock_t start,stop; double duration; int main() { start =clock(); //stop里面是从main开始走了多少ticks myfunction(); stop=clock(); duration=((double)(stop-start))/...原创 2020-05-03 18:37:42 · 280 阅读 · 0 评论
分享