P1451 求细胞数量 P1451 求细胞数量 P1451 求细胞数量 题目描述 一矩形阵列由数字0到9组成,数字1到9代表细胞,细胞的定义为沿细胞数字上下左右若还是细胞数字则为同一细胞,求给定矩形阵列的细胞个数。(1<=m,n<=100)? 输入输出格式 输入格式: 输入:整数m,n(m行,n列) ...
分类:
其他好文 时间:
2017-06-27 20:51:25
阅读次数:
136
结构体变量定义时的初始化问题: 默认值同变量一样。int型的为0,指针型的为“NULL” 并非整个结构体为NULL。当中的int型还是有值0的,仅仅是指针型的为NULL 验证一下: #include "stdafx.h" struct stu { int data; char *name; }boy ...
分类:
其他好文 时间:
2017-06-27 14:53:01
阅读次数:
274
imooc视频学习笔记 > URL:http://www.imooc.com/learn/154 ListServlet.java MessageDao.java ListService.java ...
分类:
其他好文 时间:
2017-06-26 21:13:52
阅读次数:
196
var EventUtil = { addHandler: function(element, type, handler){ if (element.addEventListener){ element.addEventListener(type, handler, false); } else ...
分类:
编程语言 时间:
2017-06-26 21:09:42
阅读次数:
152
头文件前后顺序影响TCHAR定义 windows.h winnt.htchar.h 定义_UNICODE宏常量控制 //字符typedef char TCHAR;typedef wchar_t TCHAR; 字符串typedef __T(x) L##xtypedef __T(x) x //C库函数# ...
// ConsoleApplication3.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <iostream> #include <functional> using namespace std; //1 "方向盘" 类接收外部的操作, ...
分类:
其他好文 时间:
2017-06-25 19:32:38
阅读次数:
214
做什么啊,我这么菜,应该弃赛的 [编程|1500分] 子串 时间限制:3秒空间限制:32768K 题目描述 给出一个正整数n,我们把1..n在k进制下的表示连起来记为s(n,k),例如s(16,16)=123456789ABCDEF10, s(5,2)=11011100101。现在对于给定的n和字符 ...
分类:
其他好文 时间:
2017-06-25 17:44:57
阅读次数:
194
Cerror is the mayor of city HangZhou. As you may know, the traffic system of this city is so terrible, that there are traffic jams everywhere. Now, Ce ...
分类:
其他好文 时间:
2017-06-25 11:05:01
阅读次数:
168