自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

暮雨今夕的博客

慕雨渐阑珊,芳影依依。相携不言归,愿永今夕

  • 博客(53)
  • 收藏
  • 关注

原创 TOJ 2028.Excuses, Excuses!(字符串)

题目链接:http://acm.tju.edu.cn/toj/showp2028.html2028.   Excuses, Excuses!Time Limit: 0.5 Seconds   Memory Limit: 65536KTotal Runs: 288   Accepted Runs: 115Judge Ito is having a pr

2016-08-30 22:58:49 477

转载 TOJ 2762.Balanced Lineup

题目链接:http://acm.tju.edu.cn/toj/showp2762.html2762.   Balanced LineupTime Limit: 5.0 Seconds   Memory Limit: 65536KTotal Runs: 1458   Accepted Runs: 544    Multiple test filesFo

2016-08-29 22:50:30 312

原创 TOJ 2149.01000001

题目链接:http://acm.tju.edu.cn/toj/showp2149.html2149.   01000001Time Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 3153   Accepted Runs: 956Adding binary numbers is a v

2016-08-28 19:07:40 388

原创 TOJ 1310.Do the Untwist

题目链接:http://acm.tju.edu.cn/toj/showp1310.html1310.   Do the UntwistTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 2031   Accepted Runs: 860Cryptography deals with

2016-08-28 16:44:46 488

原创 TOJ 1923.Tanning Salon

题目链接:http://acm.tju.edu.cn/toj/showp1923.html1923.   Tanning SalonTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 1299   Accepted Runs: 749Tan Your Hide, Inc., ow

2016-08-27 17:56:58 466

原创 TOJ 2867.Picking Problem(最大区间调度)

题目链接:http://acm.tju.edu.cn/toj/showp2762.html2867.   Picking ProblemTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 1969   Accepted Runs: 831On holiday, Kandy happens

2016-08-26 22:05:29 430

原创 TOJ 1391.Hay Points

题目链接:http://acm.tju.edu.cn/toj/showp1391.html1391.   Hay PointsTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 1226   Accepted Runs: 907Each employee of a bureaucracy

2016-08-26 16:39:35 534

原创 TOJ 1825.Filling Out the Team

题目链接:http://acm.tju.edu.cn/toj/showp1825.html1825.   Filling Out the TeamTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 1743   Accepted Runs: 730Over the years, th

2016-08-25 21:52:12 231

原创 TOJ 1809.Playground(构成多边形条件)

题目链接:http://acm.tju.edu.cn/toj/showp1809.html1809.   PlaygroundTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 3056   Accepted Runs: 770George has K ≤ 20 steel wires

2016-08-25 17:48:12 1315

转载 TOJ 1179.Game of Connections(大数模板)

题目链接:http://acm.tju.edu.cn/toj/showp1179.html1179.   Game of ConnectionsTime Limit: 2.0 Seconds   Memory Limit: 65536KTotal Runs: 467   Accepted Runs: 205This is a small but

2016-08-25 16:04:00 239

原创 TOJ 1777.Factstone Benchmark(取对数)

题目链接:http://acm.tju.edu.cn/toj/showp1777.html1777.   Factstone BenchmarkTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 692   Accepted Runs: 402Amtel has announced th

2016-08-24 17:43:38 235

原创 TOJ 1754.Circular Area(两圆相交求面积)

题目链接:http://acm.tju.edu.cn/toj/showp1754.html1754.   Circular AreaTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 881   Accepted Runs: 313    Multiple test filesYou

2016-08-24 16:24:03 390

原创 TOJ 1753.Hamming Problem

题目链接:http://acm.tju.edu.cn/toj/showp1753.html1753.   Hamming ProblemTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 535   Accepted Runs: 251    Multiple test filesF

2016-08-23 23:37:09 235

原创 TOJ 1438.Perfect Pth Powers

题目链接:http://acm.tju.edu.cn/toj/showp1438.html1438.   Perfect Pth PowersTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 2341   Accepted Runs: 466We say that x is a per

2016-08-23 21:00:00 239

原创 TOJ 1410.Euclid's Game

题目链接:http://acm.tju.edu.cn/toj/showp1410.html1410.   Euclid's GameTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 1316   Accepted Runs: 484Two players, Stan and Ollie

2016-08-23 17:16:03 247

原创 TOJ 3498.Differences

题目链接:http://acm.tju.edu.cn/toj/showp3498.html3498.   DifferencesTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 860   Accepted Runs: 310CXB attended an interview an

2016-08-22 22:07:04 538

原创 TOJ 1399.Blocks

题目链接:http://acm.tju.edu.cn/toj/showp1399.html1399.   BlocksTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 370   Accepted Runs: 236Donald wishes to send a gift to his

2016-08-22 17:40:11 272

原创 TOJ 2404.Bin Packing

题目链接:http://acm.tju.edu.cn/toj/showp2404.html2404.   Bin PackingTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 1168   Accepted Runs: 459    Multiple test filesA set

2016-08-22 15:57:59 306

原创 TOJ 1643.Golf

题目链接:http://acm.tju.edu.cn/toj/showp1643.html1643.   GolfTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 812   Accepted Runs: 475Whoever wants to learn the game of go

2016-08-21 21:27:30 243

原创 TOJ 1320.Billiard

题目链接:http://acm.tju.edu.cn/toj/showp1320.html1320.   BilliardTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 315   Accepted Runs: 213    Multiple test filesIn a billi

2016-08-21 18:24:54 220

原创 TOJ 1301.The Trip(精度题)

题目链接:http://acm.tju.edu.cn/toj/showp1301.html1301.   The TripTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 1989   Accepted Runs: 481    Multiple test filesA num

2016-08-21 15:50:24 208

原创 TOJ 1082.Ride to School

题目链接:http://acm.tju.edu.cn/toj/showp1082.html1082.   Ride to SchoolTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 823   Accepted Runs: 402Many graduate students of

2016-08-20 18:31:16 281

原创 TOJ 1868.Count the factors(埃式筛法)

题目链接:http://acm.tju.edu.cn/toj/showp1868.html1868.   Count the factorsTime Limit: 0.5 Seconds   Memory Limit: 65536KTotal Runs: 2691   Accepted Runs: 855The ProblemWrite a

2016-08-20 15:24:48 238

原创 TOJ 1987.Faulty Odometer(数论题)

题目链接:http://acm.tju.edu.cn/toj/showp1987.html1987.   Faulty OdometerTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 596   Accepted Runs: 399You are given a car odomet

2016-08-19 17:35:52 341

原创 TOJ 2969.HELP ! ! !

题目链接:http://acm.tju.edu.cn/toj/showp2969.html2969.   HELP ! ! !Time Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 1436   Accepted Runs: 434Sojib is a student of class VI

2016-08-19 16:24:00 234

原创 TOJ 2836.River Hopscotch(二分好题)

题目链接:http://acm.tju.edu.cn/toj/showp2836.html2836.   River HopscotchTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 396   Accepted Runs: 145    Multiple test filesEve

2016-08-18 22:08:40 309

原创 TOJ 2469.Friends(并查集基础题目)

题目链接:http://acm.tju.edu.cn/toj/showp2469.html2469.   FriendsTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 5132   Accepted Runs: 1879There are some people travelin

2016-08-18 19:04:30 382

原创 TOJ 3987.Hacb knows the gift

题目链接:http://acm.tju.edu.cn/toj/showp3987.html3987.   Hacb knows the giftTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 1228   Accepted Runs: 284Coach Yu will send

2016-08-18 16:37:21 169

原创 TOJ 1676.Networking(最小生成树基础题)

题目链接:http://acm.tju.edu.cn/toj/showp1676.html1676.   NetworkingTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 2791   Accepted Runs: 1104You are assigned to design netw

2016-08-17 22:01:30 256

原创 TOJ 1407. Paths on a Grid(组合数)

题目链接:http://acm.tju.edu.cn/toj/showp1407.html1407.   Paths on a GridTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 3485   Accepted Runs: 756Imagine you are attending

2016-08-17 11:06:42 291

原创 TOJ 3508.Minimum Scalar Product

题目链接:http://acm.tju.edu.cn/toj/showp3508.html3508.   Minimum Scalar ProductTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 1942   Accepted Runs: 586You are given tw

2016-08-16 23:12:26 229

原创 TOJ 2793.A Simple Problem

题目链接:http://acm.tju.edu.cn/toj/showp2793.html2793.   A Simple ProblemTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 554   Accepted Runs: 266Given a nonnegative integ

2016-08-16 21:51:50 386

原创 TOJ 2761.Buy One Get One Free

题目链接:http://acm.tju.edu.cn/toj/showp2761.html2761.   Buy One Get One FreeTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 1117   Accepted Runs: 409    Multiple test files

2016-08-15 21:59:31 371

原创 TOJ 3863.Right Triangle(勾股数)

题目链接:http://acm.tju.edu.cn/toj/showp3863.html3863.   Right TriangleTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 846   Accepted Runs: 259When Ant studied in middle sc

2016-08-15 16:02:17 600

原创 TOJ 3861.Erase

题目链接:http://acm.tju.edu.cn/toj/showp3861.html3861.   EraseTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 392   Accepted Runs: 212Ann is playing a number game with

2016-08-14 17:09:07 233

原创 TOJ 3855.Price

题目链接:http://acm.tju.edu.cn/toj/showp3855.html3855.   PriceTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 371   Accepted Runs: 208Ant is a student in Tianjin Univer

2016-08-13 21:23:02 184

原创 TOJ 3845.Cut Stick(斐波那契)

题目链接:http://acm.tju.edu.cn/toj/showp3845.html3845.   Cut StickTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 546   Accepted Runs: 259Ann meets another problem.Si

2016-08-13 20:34:11 417

原创 TOJ 3534.Shift Number

题目链接:http://acm.tju.edu.cn/toj/showp3534.html3534.   Shift NumberTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 293   Accepted Runs: 131If a number is the sum of a

2016-08-13 16:46:56 239

原创 TOJ 3496.Summation

题目链接:http://acm.tju.edu.cn/toj/showp3496.html3496.   SummationTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 1847   Accepted Runs: 581CXB join an interview, the in

2016-08-13 16:20:22 245

原创 埃式筛法

埃氏筛或爱氏筛,是一种公元前250年由古希腊数学家埃拉托斯特尼所提出的一种简单检定素数的算法。给出要筛数值的范围n,找出以内的素数。先用2去筛,即把2留下,把2的倍数剔除掉;再用下一个质数,也就是3筛,把3留下,把3的倍数剔除掉;接下去用下一个质数5筛,把5留下,把5的倍数剔除掉;不断重复下去。见下图:一、利用埃式筛法打印质数:首先是自己写的,一点都不优雅:

2016-08-12 21:55:53 919

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除