- 博客(8)
- 收藏
- 关注
原创 792C - Divide by Three
C. Divide by Threetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA positive integer number n is written on
2017-04-26 22:20:52 732
原创 Mike and gcd problem CodeForces - 798C
Mike has a sequence A = [a1, a2, ..., an] of length n. He considers the sequence B = [b1, b2, ..., bn] beautiful if the gcd of all its elements is bigger than 1, i.e. .Mike wants to change his s
2017-04-25 21:40:22 601
原创 L2-022. 重排链表
L2-022. 重排链表时间限制 500 ms内存限制 65536 kB代码长度限制 8000 B判题程序 Standard 作者 陈越给定一个单链表 L1→L2→...→Ln-1→Ln,请编写程序将链表重新排列为 Ln→L1→Ln-1→L2→...。例如:给定L为1→2→3→4→5→6,则输出
2017-04-16 00:57:29 1151 1
原创 Codeforces Round #403 (Div. 2, based on Technocup 2017 Finals) B. The Meeting Place Cannot Be Change
B. The Meeting Place Cannot Be Changedtime limit per test5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe main road in Bytecity is a
2017-04-06 22:32:18 346
原创 PAT L3-014. 周游世界
L3-014. 周游世界时间限制 200 ms内存限制 65536 kB代码长度限制 8000 B判题程序 Standard 作者 陈越周游世界是件浪漫事,但规划旅行路线就不一定了…… 全世界有成千上万条航线、铁路线、大巴线,令人眼花缭乱。所以旅行社会选择部分运输公司组成联盟,每家公司提供一条线
2017-04-04 23:57:56 2030
原创 POJ 1753 (暴力搜索)
Flip GameTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 44180 Accepted: 18986DescriptionFlip game is played on a rectangular 4x4 field with two-sided pie
2017-04-04 19:08:51 323
原创 HDU 1724
EllipseTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1971 Accepted Submission(s): 828Problem DescriptionMath is important!! Man
2017-04-03 21:19:29 397
原创 CSU 1808 (最短路 把边当成点来跑 dijkstra)
Bobo 居住在大城市 ICPCCamp。ICPCCamp 有 n 个地铁站,用 1,2,…,n 编号。 m 段双向的地铁线路连接 n 个地铁站,其中第 i 段地铁属于 ci 号线,位于站 ai,bi 之间,往返均需要花费 ti 分钟(即从 ai 到 bi 需要 ti 分钟,从 bi 到 ai 也需要 ti 分钟)。众所周知,换乘线路很麻烦。如果乘坐第 i 段地铁来到地铁站 s,又乘坐第
2017-04-03 20:47:50 335
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人