- 博客(33)
- 资源 (1)
- 收藏
- 关注
原创 【codeforce】B. Masha and geometric depression
B. Masha and geometric depressiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMasha really loves algebra. On the l
2017-03-31 21:41:40 461
原创 【codeforce】A. Anastasia and pebbles
A. Anastasia and pebblestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAnastasia loves going for a walk in Central U
2017-03-31 19:53:06 856
原创 【Java】图形用户界面
1.Frame窗体类import java.awt.*;public class Hellojava extends Frame{ public static void main(String[] args) { Hellojava framesample=new Hellojava(); framesample.setSize(400,300); framesample.s
2017-03-28 16:15:30 602
原创 【CDOJ】渐变字符串
渐变字符串 Edit Time Limit: 3000/1000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others)SubmitStatus 如果一个字符串,它每个字母(第一个除外)为前一个字母的后一位,则这样的字符串被称为“渐变字符串”。如:"abcde", "hijklmnopqr"
2017-03-27 21:54:39 636
原创 【CDOJ】动态规划
谭爷的黑暗沙拉 Edit Time Limit: 3000/1000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others)SubmitStatus 谭爷有nn种不同种类的食材(水果&蔬菜),他想做出一份总重量为kk的黑暗沙拉。他想让机智的你告诉他,他能做多少种不同的黑暗沙拉!说明:
2017-03-27 20:54:08 333
原创 【CDOJ】简单的数学题
简单的数学题 Edit Time Limit: 3000/1000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others)SubmitStatus 这是一道简单的数学题,简单到题目只给你一个正整数N,而你则输出一个M,这个M是由N的各个位数重新排列而来的(比如,N=123,则M可以为123,
2017-03-27 20:36:49 816
原创 初识数据库
netstat -ano|findstr "8080"建数据库CREATE DATABASE database_name; 显示所有已经创建的数据库 SHOW DATABASES; 切换当前使用的数据库 use database_name;创建表create table table_name( 字段名 字段类型 ) 查看表的信息 D
2017-03-21 20:07:10 226
原创 第一个数据表
CREATE DATaBASE wry;SHOW DATABASEs;use wry;/*创建表*/create table t1(id int,username varchar(20),passwords varchar(20),address varchar(20),phone varchar(20),score int);DESC t1;alter table t1
2017-03-21 20:04:12 416
原创 【codeforce】A. Potion of Immortality
A. Potion of Immortalitytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe world famous scientist Innokentiy has ju
2017-03-20 21:41:13 338
原创 *【codeforces】数学期望
B. A Lot of Joytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputTwo boys Gena and Petya wrote on two strips of paper
2017-03-20 17:37:39 483
原创 【玲珑】1106
1106 - Niro plays Galaxy Note 7Time Limit:1s Memory Limit:128MByte Submissions:329Solved:197DESCRIPTIONNiro, a lovely girl, has bought a Galaxy Note 7 and wants to destroy cities.
2017-03-18 17:29:11 227
原创 【codeforce】几何
I - ICrawling in process...Crawling failedTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u SubmitStatus DescriptionGerald is setting the New Y
2017-03-18 16:59:38 254
原创 【HTML】制作新闻菜单
导航菜单 *{ padding: 0px; margin: 0px; } body{ font-family: "宋体"; font-size: 12px; } .big{ width: 400px; border: #33CCCC 1px solid } h2{ background-color: olive; display: block;
2017-03-17 22:03:30 3431
原创 【HTML】伪类选择器
伪类选择器 a:link{color: red}/*未访问的链接*/ a:visited{color: green}/*已访问的链接*/ a:hover{color: blue}/*鼠标移动到链接上*/ a:active{color: aqua}/*选定的链接*/ 链接到本页搜狐
2017-03-17 20:45:19 291
原创 【杭电】4278八进制转化为十进制
Faulty OdometerTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2023 Accepted Submission(s): 1400Problem Description You are give
2017-03-17 19:09:46 244
原创 【zzuli】九进制转化为十进制
E - ECrawling in process...Crawling failedTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmitStatus DescriptionYou are given a car odometer whic
2017-03-17 18:54:45 5502
原创 ***【杭电】5969最大位或
最大的位或Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1199 Accepted Submission(s): 484Problem DescriptionB君和G君聊天的时候想到了如下的问题。给定自然
2017-03-16 18:09:29 268
原创 【杭电】5660正多边形
C - CCrawling in process...Crawling failedTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmitStatus DescriptionjrMz has two types of angles, one
2017-03-14 17:25:17 302
原创 【HTML】计算机报价单
计算机报价单/*css*/ table{ /* 表格增加线宽为3的橙色实线边框*/ border:3px solid #F50B0E; } caption{ /*表格标题字号*/ font-size: 36px; } th,td{ /*表格单元格增加边线*/ border:1px solid #F90; } 计算机报价表 型号类型价格图片宏碁笔
2017-03-12 13:51:35 924
原创 【杭电】1466计算直线的交点数【DP】
计算直线的交点数:总的交点数=平行线组与不平行线组之间的交点+不平行线内部之间的交点; 即(n-b)*b+k k为不平行线内部之间的交点数
2017-03-11 16:08:04 281
原创 【杭电】5443 水题
L - LCrawling in process...Crawling failedTime Limit:1000MS Memory Limit:131072KB 64bit IO Format:%I64d & %I64u SubmitStatus DescriptionIn Land waterless, water is a v
2017-03-10 17:08:34 290
原创 【杭电2824】欧拉函数
F - FCrawling in process...Crawling failedTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatus DescriptionThe Euler function phi is an impo
2017-03-08 21:05:44 255
原创 【poj】3187全排列
E - ECrawling in process...Crawling failedTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmitStatus DescriptionFJ and his cows enjoy playing a m
2017-03-08 18:03:41 527
原创 直线上的点
D - DTime Limit:2000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription"How am I ever going to solve this problem?" said the pilot. Indeed,
2017-03-08 16:25:42 542
原创 规律题
DescriptionYuta gives Rikka a chess board of size $n \times m$. As we all know, on a chess board, every cell is either black or white and every two cells that share a side have different color
2017-03-06 21:06:44 467
原创 *【codeforce】782C 【dfs】
C. Andryusha and Colored Balloonstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAndryusha goes through a park each day. The squ
2017-03-06 20:12:30 254
原创 【codeforce】403 Div.2 A Andryusha and Socks
A. Andryusha and Sockstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAndryusha is an orderly boy and likes to keep
2017-03-06 17:34:33 296
原创 【玲珑】1099
Submissions:433Solved:262DESCRIPTION给一个数x,定义一个函数f(x)的结果是x的各位数字的平方和,若经过无数次递归操作之后若结果为1,也就是f(f(f(...f(x)...)))=1,那么这个数被认为是一个特别的数。给出一个数x请问这个数是否特别。INPUT包含多组测试数据(
2017-03-05 19:48:24 237
原创 【Java】学生成绩管理系统
请输入学生人数:2请输入课程数目:3请定义第1门课程:数据结构请定义第2门课程:操作系统请定义第3门课程:组成原理请输入第1个学生姓名:w请输入w的数据结构成绩:65请输入w的操作系统成绩:66请输入w的组成原理成绩:77请输入第2个学生姓名:r请输入r的数据结构成绩:34请输入r的操作系统成绩:89请
2017-03-02 21:16:09 2708
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人