2013年7月28日

vim如何粘贴

摘要: 刚开始vim的学习之旅,在进行粘贴操作时遇到了麻烦。教程上粘贴的命令是p,但我发现该命令只适用于从vim到vim的复制(p未必就仅仅局限于此,但我目前所了解到的情况如此),当我从网上复制了一段代码想要粘贴到正用vim编辑的文本时就失败了,vim提示“寄存器没有内容”。显然,p命令用的应当是vim自己的剪贴板,而不是系统的剪贴板,而我从网上复制代码时用的却是系统的剪贴板,于是产生无法粘贴的现象。解决方法:用Shift+Insert命令。2013-07-2810:49:48 阅读全文

posted @ 2013-07-28 10:50 铁树银花 阅读(296) 评论(0) 推荐(0) 编辑

Counting Pair

摘要: Counting PairTime Limit:1000 msMemory Limit:65535 kBSolved:112Tried:1209SubmitStatusBest SolutionBackDescriptionBob hosts a party and invites N boys and M girls. He gives every boy here a unique number Ni(1 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #inclu... 阅读全文

posted @ 2013-07-28 09:48 铁树银花 阅读(327) 评论(0) 推荐(0) 编辑

King's Sanctuary(简单几何)

摘要: King's SanctuaryTime Limit:1000 msMemory Limit:65535 kBSolved:111Tried:840SubmitStatusBest SolutionBackDescriptionThe king found his adherents were building four sanctuaries for him. He is interested about the positions of the sanctuaries and wants to know whether they would form a parallelogram 阅读全文

posted @ 2013-07-28 09:45 铁树银花 阅读(332) 评论(0) 推荐(0) 编辑

导航