这篇我们介绍管理员密码是如何修改的,展示页面我们已经看到了,修改,链接到pass.html页面 ...
分类:
其他好文 时间:
2017-07-11 10:20:54
阅读次数:
261
<html> <head> <style type="text/css"> ul.none {list-style-type: none} ul.disc {list-style-type: disc} ul.circle {list-style-type: circle} ul.square {l ...
分类:
Web程序 时间:
2017-07-10 17:57:42
阅读次数:
201
40+45种网站常用Javascript技巧转载自网络,地址不详。 1. oncontextmenu="window.event.returnValue=false" 将彻底屏蔽鼠标右键 <table border oncontextmenu=return(false)><td>no</table> ...
分类:
编程语言 时间:
2017-07-10 00:34:59
阅读次数:
331
类继承,定义了一个点类point,然后线条类line继承了point类,正方形类Suare继承line类 正方形四个角坐标关系如图 ...
分类:
其他好文 时间:
2017-07-09 21:53:37
阅读次数:
279
原题目: Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. ...
分类:
其他好文 时间:
2017-07-09 19:31:45
阅读次数:
177
题目链接: http://acm.xmu.edu.cn/JudgeOnline/problem.php?id=1016 题目大意: 给你一个整数N,然后输出一个N阶幻方。 解题思路: 关于幻方。搜索肯定超时。可是我们能够直接构造一个幻方。就是依据奇数阶(2*M+1)幻方、 单偶数阶(4*M+2)幻方 ...
分类:
其他好文 时间:
2017-07-07 13:28:40
阅读次数:
156
11461 - Square Numbers Time limit: 1.000 seconds A square number is an integer number whose square root is also an integer. For example 1, 4, 81 are s ...
分类:
其他好文 时间:
2017-07-03 22:25:07
阅读次数:
196
题意:给出n个(不同长度的)棍子,问能不能将他们构成一个正方形。 策略:深搜。 hdoj 1455的简化版 代码: #include <stdio.h> #include <string.h> #include <algorithm> #define M 25 using namespace std ...
分类:
其他好文 时间:
2017-07-03 12:25:10
阅读次数:
183
Given a non-negative integer c, your task is to decide whether there're two integers a and b such that a2 + b2 = c. Example 1: Example 2: 思路: 类似于二分查找。 ...
分类:
其他好文 时间:
2017-07-02 13:04:36
阅读次数:
126
1 class Square: 2 def __init__(self, wh): #因为是正方形, 只取一条边的长度 3 if isinstance(wh,(int,float)): 4 self.wh = wh 5 else: 6 raise TypeError 7 8 def... ...
分类:
编程语言 时间:
2017-07-01 09:49:59
阅读次数:
225