- 博客(19)
- 资源 (1)
- 收藏
- 关注
原创 Clock(数学题)
ClockTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 1195 Accepted Submission(s): 417Problem DescriptionGiven a time HH:MM:SS and
2018-04-30 11:23:31 173
原创 The Lucky Week(规律)
The Lucky WeekEdward, the headmaster of the Marjar University, is very busy every day and always forgets the date.There was one day Edward suddenly found that if Monday was the 1st, 11th or 21st
2018-04-28 17:10:21 366
原创 POJ 3233 Matrix Power Series
Matrix Power SeriesTime Limit: 3000MS Memory Limit: 131072KTotal Submissions: 26212 Accepted: 10784DescriptionGiven a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 + … + Ak.Inp...
2018-04-26 21:08:34 121
原创 POJ 1061 青蛙的约会(扩展欧几里德算法)
青蛙的约会Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 124981 Accepted: 26763Description两只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面。它们很高兴地发现它们住在同一条纬度线上,于是它们约定各自朝西跳,直到碰面为止。可是它们出发之前忘记了一件很重要的事情,既没有问
2018-04-26 20:33:37 124
原创 2266: number
2266: number时间限制: 1 Sec 内存限制: 128 MB提交: 76 解决: 31[提交][状态][讨论版][命题人:admin]题目描述某人刚学习了数位DP,他在某天忽然思考如下问题:给定n,问有多少数对满足: x, y∈[1, n], x x, y中出现的[0, 9]的数码种类相同输入
2018-04-24 20:13:01 275
原创 2263: neighbor
2263: neighbor时间限制: 1 Sec 内存限制: 256 MB提交: 235 解决: 68[提交][状态][讨论版][命题人:admin]题目描述隔壁学校地形图可以通过一个高度矩阵表示,矩阵中每一个位置都有一个数hi , j表示这个坐标的海拔,我们姑且将其称为海拔图,容易发现,我们可以通过这个矩阵轻松算出隔壁学校的主视图,左视图。 相反的,
2018-04-23 19:13:35 203
原创 2269: minval(优先队列)
2269: minval时间限制: 3 Sec 内存限制: 256 MB提交: 621 解决: 62[提交][状态][讨论版][命题人:外部导入]题目描述有两个长度为N的序列A和B,在A和B中各任取一个数相加可以得到N2个和,求这N2个和中最小的N个。 输入第一行输入一个正整数N(1第二行N个整数Ai且Ai输出输出仅一行,包含n个整数,从
2018-04-21 19:22:04 188
原创 HDU - 5858(几何计算)
cjj is fun with math problem. One day he found a Olympic Mathematics problem for primary school students. It is too difficult for cjj. Can you solve it? Give you the side length of the square
2018-04-20 15:18:49 201
原创 Problem 2150 Fire Game (广搜+枚举)
Problem 2150 Fire Game Accept: 3225 Submit: 11130Time Limit: 1000 mSec Memory Limit : 32768 KB Problem DescriptionFat brother and Maze are playing a kind of special (hentai) game on an N
2018-04-20 15:00:43 129
原创 Alice and Bob HDU4268
Alice and BobTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5584 Accepted Submission(s): 1736Problem DescriptionAlice and Bob's
2018-04-19 19:58:07 144
原创 Group(区间查询 莫队)hdu 4638
GroupTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3056 Accepted Submission(s): 1530Problem DescriptionThere are n men ,every m
2018-04-18 21:16:34 146
原创 迷宫城堡(有向图的强联通分量)
迷宫城堡Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 19906 Accepted Submission(s): 8688Problem Description为了训练小希的方向感,G
2018-04-18 15:07:24 121
原创 51nod 1284 2 3 5 7的倍数(容斥原理)
1284 2 3 5 7的倍数 基准时间限制:1 秒 空间限制:131072 KB 分值: 5 难度:1级算法题 收藏 关注给出一个数N,求1至N中,有多少个数不是2 3 5 7的倍数。 例如N = 10,只有1不是2 3 5 7的倍数。Input输入1个数N(1 Output输出不是2 3 5 7的倍数的数共有多少。Input示例10Output示例
2018-04-17 21:16:18 175
原创 A Simple Problem with Integers poj3468(线段树区间更新,区间查询)
A Simple Problem with IntegersTime Limit: 5000MS Memory Limit: 131072KTotal Submissions: 128832 Accepted: 39978Case Time Limit: 2000MSDescriptionYou have N integers, A1, A2, ... , AN. Yo
2018-04-17 20:57:50 176
原创 Kattis - speed
Need for SpeedSheila is a student and she drives a typical student car: it is old, slow, rusty, and falling apart. Recently, the needle on the speedometer fell off. She glued it back on, but she might...
2018-04-15 21:34:53 332
原创 对称与反对称
链接:https://www.nowcoder.com/acm/contest/94/H来源:牛客网对称与反对称时间限制:C/C++ 2秒,其他语言4秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld题目描述 给出一个N*N的方阵A。构造方阵B,C:使得A = B + C.其中 B为对称矩阵,C为反对称矩阵。对于方阵S中的任意元素,若(S)ij...
2018-04-07 21:39:49 3113
原创 A - Polyomino Composer UVA - 12291
A polyomino is a plane geometric figure formed by joining one or more equal squares edgeto edge.– WikipediaGiven a large polyomino and a small polyomino, your task is to determine whether
2018-04-06 10:02:14 185
原创 Can you find it?
Problem DescriptionGive you three sequences of numbers A, B, C, then we give you a number X. Now you need to calculate if you can find the three numbers Ai, Bj, Ck, which satisfy the formula Ai+Bj+C
2018-04-06 08:38:48 185
原创 CodeForces - 907B Tic-Tac-Toe
Two bears are playing tic-tac-toe via mail. It's boring for them to play usual tic-tac-toe game, so they are a playing modified version of this game. Here are its rules.The game is played on the fol
2018-04-01 21:12:08 167
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人