doublefloatint
码龄6年
关注
提问 私信
  • 博客:10,826
    10,826
    总访问量
  • 46
    原创
  • 852,217
    排名
  • 1
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:上海市
  • 加入CSDN时间: 2018-08-07
博客简介:

doublefloatint的博客

查看详细资料
个人成就
  • 获得4次点赞
  • 内容获得1次评论
  • 获得5次收藏
创作历程
  • 1篇
    2021年
  • 1篇
    2020年
  • 44篇
    2019年
成就勋章
TA的专栏
  • 开发中的问题
    1篇
  • 前端学习记录
  • 学习记录
    1篇
  • PAT日志
    44篇
兴趣领域 设置
  • 前端
    javascriptcss
创作活动更多

超级创作者激励计划

万元现金补贴,高额收益分成,专属VIP内容创作者流量扶持,等你加入!

去参加
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

记录一次因为更换电脑导致git push项目代码失败的情况

写在前面我这个情形很少见,一般碰不到,当属疑难杂症,只能作为各位寻医问药的一个参考吧,最终解决的方案也不算优美发病情况两个大病:没有推送代码的权限报错中出现别人的邮箱从公司Github上拉下的代码,自己在本地建立了分支,修改代码后准备推送本机分支到远程仓库上分别经历 git add 和 git commit命令然后git push开始报错fatal: The current branch ymn/master has no upstream branch.这大概是我没有建立远程分支的
原创
发布博客 2021.07.14 ·
2180 阅读 ·
1 点赞 ·
0 评论 ·
2 收藏

Windows上生成码云公钥

Windows上生成码云公钥1 申请码云账号2 找到公钥的填写位置3 生成密钥1 申请码云账号https://gitee.com/signup2 找到公钥的填写位置点击头像下拉框中的设置,在左侧找到SSH公钥点击就可以添加公钥啦。3 生成密钥官方也给出了教程,如下图所示:其中红色的部分要填自己的邮箱,我是用手机号注册的账号,后面又绑定了一个邮箱,所以这里我填的是绑定的邮箱(有点不太确定对不对)。因为是windows系统,不支持cat命令,所以要用type命令替换。.ssh文件就在你打
原创
发布博客 2020.05.21 ·
679 阅读 ·
0 点赞 ·
0 评论 ·
2 收藏

1001 A+B Format (20 分)

AC练习1001 A+B Format (20 分)题目链接:1001 A+B Format前几天准备开始敲代码练习,找了最后一套题做,做了一个简单的一道难的,1153还是做不出来……超时+不知道错哪。虽然通过这两道题回忆起了C++的语法,但是还是决定从简单的开始,不然敲得我脑壳疼肩膀疼。那么就从1001开始吧,哈哈哈,一看就是以前得出题风格,很简单,但是还有几个我很容易出错的点。给别人提...
原创
发布博客 2019.10.16 ·
235 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT日志 1147 Heaps

顽强的小白1147 Heaps (30 分)In computer science, a heap is a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the value) of P is either gre...
原创
发布博客 2019.03.14 ·
245 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT日志 1146

顽强的小白1146 Topological Order (25 分)This is a problem given in the Graduate Entrance Exam in 2018: Which of the following is NOT a topological order obtained from the given directed graph? Now you are...
原创
发布博客 2019.03.14 ·
226 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT日志 1145

顽强的小白1145 Hashing - Average Search Time (25 分)The task of this problem is simple: insert a sequence of distinct positive integers into a hash table first. Then try to find another sequence of integ...
原创
发布博客 2019.03.14 ·
255 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT日志 1144

顽强的小白1144 The Missing Number (20 分)Given N integers, you are supposed to find the smallest positive integer that is NOT in the given list.Input Specification:Each input file contains one test case...
原创
发布博客 2019.03.14 ·
146 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT日志 1154

顽强的小白1154 Vertex Coloring (25 分)A proper vertex coloring is a labeling of the graph’s vertices with colors such that no two vertices sharing the same edge have the same color. A coloring using at m...
原创
发布博客 2019.03.05 ·
135 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT日志 1152

顽强的小白1152 Google Recruitment (20 分)In July 2004, Google posted on a giant billboard along Highway 101 in Silicon Valley (shown in the picture below) for recruitment. The content is super-simple, a U...
原创
发布博客 2019.03.05 ·
162 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT日志 1155

顽强的小白1155 Heap Paths (30 分)In computer science, a heap is a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the value) of P is eithe...
原创
发布博客 2019.03.04 ·
176 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT日志 1098

顽强的小白1098 Insertion or Heap Sort (25 分)According to Wikipedia:Insertion sort iterates, consuming one input element each repetition, and growing a sorted output list. Each iteration, insertion sort ...
原创
发布博客 2019.03.04 ·
144 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT日志 1136

顽强的小白1136 A Delayed Palindrome (20 分)Consider a positive integer N written in standard notation with k+1 digits a​i​​ as a​k​​⋯a​1​​a​0​​ with 0≤a​i​​<10 for all i and a​k​​>0. Then N is palin...
原创
发布博客 2019.03.03 ·
158 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT日志 1111

顽强的小白1111 Online Map (30 分)Input our current position and a destination, an online map can recommend several paths. Now your job is to recommend two paths to your user: one is the shortest, and the ...
原创
发布博客 2019.03.03 ·
173 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

PAT日志 1108

顽强的小白1108 Finding Average (20 分)The basic task is simple: given N real numbers, you are supposed to calculate their average. But what makes it complicated is that some of the input numbers might not...
原创
发布博客 2019.03.02 ·
215 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT日志 1013

顽强的小白1013 Battle Over Cities (25 分)It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways from/toward that city are close...
原创
发布博客 2019.03.01 ·
100 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT日志 1053

顽强的小白1053 Path of Equal Weight (30 分)Given a non-empty tree with root R, and with weight W​i​​ assigned to each tree node T​i​​. The weight of a path from R to L is defined to be the sum of the wei...
原创
发布博客 2019.03.01 ·
163 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT日志 1079

顽强的小白1079 Total Sales of Supply Chain (25 分)A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involved in moving a product from supplier to customer.St...
原创
发布博客 2019.02.28 ·
186 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT日志 1102

顽强的小白1102 Invert a Binary Tree (25 分)The following is from Max Howell @twitter:Google: 90% of our engineers use the software you wrote (Homebrew), but you can’t invert a binary tree on a whiteboard...
原创
发布博客 2019.02.28 ·
110 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT日志 1086

顽强的小白1086 Tree Traversals Again (25 分)An inorder binary tree traversal can be implemented in a non-recursive way with a stack. For example, suppose that when a 6-node binary tree (with the keys num...
原创
发布博客 2019.02.28 ·
145 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT日志 1020

顽强的小白1020 Tree Traversals (25 分)Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequences, you are supposed to output the level o...
原创
发布博客 2019.02.27 ·
168 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏
加载更多