- 博客(11)
- 收藏
- 关注
原创 1、Two Sum
题目:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two numbers such that they add up to the ta
2016-01-24 16:49:00 263
原创 VS2010中右键菜单的添加
1、资源文件.rc里面,右键添加资源,选择菜单,添加菜单。2、程序中添加响应WM_ContextMenu消息的函数3、在函数中添加如下代码void CMenu3View::OnContextMenu(CWnd* pWnd, CPoint point){// TODO: 在此处添加消息处理程序代码 //if语句块在用shift+f10组合键产生右键菜单时执行
2014-12-17 15:47:33 3074
转载 SQL Server数据库Substring函数使用方法小结
在SQL Server数据库操作中,我们常常会用到Substring函数,本文我们对Substring函数的使用方法进行了总结,并通过例子对它的使用方法加以说明。接下来就让我们来一起了解一下Substring函数的使用方法吧。SUBSTRING ( expression, start, length )参数expression字符串、二进制字符串、文本、图像、列或包
2014-04-20 10:36:25 11934
转载 CSS选择符的优先级
优先级:!important行内选择符标签ID选择符类选择符/属性选择符/伪类选择符(:link、:visible、:hover、:active、:focus、:first-child):元素选择符/伪元素选择符(:before、:after、:first-line、:first-letter) 继承得来的属性优先级相同时,则采用就近原则。提升优先级的方式:用高级别的选择符来限定
2014-03-19 10:59:50 671
转载 CSS中设置图片的宽度和高度
> html> head> meta charset="utf-8" /> title>css控制图片大小在线演示 www.divcss5.comtitle> style> .divcss5 img{ width:300px; height:100px} style> head> body> p>strong>原始图片大小strong>p> p>i
2014-03-19 10:57:57 3543
转载 html <marquee>标签
html滚动代码大全[HTML代码]会移动的文字(Marquee)Marquee标记用于在可用浏览区域中滚动文本。这个标记只适用于IE3以后的版的浏览器。 格式: BEHAVIOR="…" BGCOLOR="…" DIRECTION="…" HEIGHT="…" WIDTH="…" HSPACE="…" VSPACE="…" LOOP="
2014-03-18 21:29:54 685
原创 北京大学ACM1000题总结
import java.util.Scanner;public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); System.out.print
2014-02-12 16:32:39 667
转载 MIPS汇编语言参考
MIPS Instruction ReferenceThis is a description of the MIPS instruction set, their meanings, syntax, semantics, and bit encodings. The syntax given for each instruction refers to the assembly langua
2013-10-27 21:17:03 4054
转载 MIPS汇编语言SYSCALL指令的用法
SYSCALL functions available in MARSIntroductionA number of system services, mainly for input and output, are available for use by your MIPS program. They are described in the table below.MIPS re
2013-10-27 16:13:14 15563 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人