啥都不会啊!怎么办啊!

Fitz

慢慢来生活总会好起来的!!!

随笔分类 -  技巧题

摘要:D. Roman Digits time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output D. Roman Digits time limi 阅读全文
posted @ 2018-08-08 21:27 Fitz~ 阅读(418) 评论(0) 推荐(0)
摘要:Description Davy decided to start a weekend market stall where he sells his famous cakes. For the first market stall, Davy decided to bake n cakes. Ea 阅读全文
posted @ 2018-05-20 22:56 Fitz~ 阅读(206) 评论(0) 推荐(0)
摘要:Xor Sum Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 132768/132768 K (Java/Others)Total Submission(s): 4119 Accepted Submission(s): 1796 Probl 阅读全文
posted @ 2018-05-18 00:01 Fitz~ 阅读(291) 评论(0) 推荐(0)
摘要:Kuro is currently playing an educational game about numbers. The game focuses on the greatest common divisor (GCD), the XOR value, and the sum of two 阅读全文
posted @ 2018-05-17 19:53 Fitz~ 阅读(437) 评论(0) 推荐(0)
摘要:C. Valhalla Siege time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Ivar the Boneless is a 阅读全文
posted @ 2018-05-03 08:58 Fitz~ 阅读(421) 评论(0) 推荐(0)
摘要:Description Saruman’s army of orcs and other dark minions continuously mine and harvest lumber out of the land surrounding his mighty tower for N cont 阅读全文
posted @ 2018-04-18 21:50 Fitz~ 阅读(232) 评论(0) 推荐(0)
摘要:链接:https://www.nowcoder.com/acm/contest/96/H来源:牛客网 题目描述 今天qwb要参加一个数学考试,这套试卷一共有n道题,每道题qwb能获得的分数为ai,qwb并不打算把这些题全做完, 他想选总共2k道题来做,并且期望他能获得的分数尽可能的大,他准备选2个不 阅读全文
posted @ 2018-04-16 18:35 Fitz~ 阅读(220) 评论(0) 推荐(0)
摘要:链接:https://www.nowcoder.com/acm/contest/82/B来源:牛客网 时间限制:C/C++ 7秒,其他语言14秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 时间限制:C/C++ 7秒,其他语言14秒 空间 阅读全文
posted @ 2018-04-06 17:30 Fitz~ 阅读(305) 评论(0) 推荐(0)
摘要:链接:https://www.nowcoder.com/acm/contest/93/L来源:牛客网 时间限制:C/C++ 3秒,其他语言6秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 时间限制:C/C++ 3秒,其他语言6秒 空间限制 阅读全文
posted @ 2018-04-05 19:08 Fitz~ 阅读(241) 评论(0) 推荐(0)
摘要:链接:https://www.nowcoder.com/acm/contest/90/L来源:牛客网 在一个风雨交加的夜晚,来自异世界的不愿透露姓名的TMK同学获得了两种超强药水A、B。根据说明书,TMK知道了这两种药水的作用: (1)药水A能使人的生命值提高,每饮用1个单位能使他生命值变成原来的x 阅读全文
posted @ 2018-03-25 21:49 Fitz~ 阅读(650) 评论(12) 推荐(0)
摘要:Description Oh those picky N (1 <= N <= 50,000) cows! They are so picky that each one will only be milked over some precise time interval A..B (1 <= A 阅读全文
posted @ 2018-03-22 11:42 Fitz~ 阅读(126) 评论(0) 推荐(0)
摘要:Once again, James Bond is on his way to saving the world. Bond's latest mission requires him to travel between several pairs of cities in a certain co 阅读全文
posted @ 2018-03-19 00:03 Fitz~ 阅读(240) 评论(0) 推荐(0)
摘要:LCA 算法是一个技巧性很强的算法。 十分感谢月老提供的模板。 这里我实现LCA是通过倍增,其实就是二进制优化。 任何一个数都可以有2的阶数实现 例如16可以由1 2 4 8组合得到 5可以由1 2 4 组合得到 便于读者理解 我放一道例题吧 Problem F: 挑战迷宫 Description 阅读全文
posted @ 2018-03-16 12:40 Fitz~ 阅读(512) 评论(0) 推荐(0)
摘要:Long long ago there is a strong tribe living on the earth. They always have wars and eonquer others. One day, there is another tribe become their targ 阅读全文
posted @ 2018-03-08 20:44 Fitz~ 阅读(202) 评论(0) 推荐(0)
摘要:Alice and Bob's game never ends. Today, they introduce a new game. In this game, both of them have N different rectangular cards respectively. Alice w 阅读全文
posted @ 2018-03-08 17:57 Fitz~ 阅读(188) 评论(0) 推荐(0)
摘要:Modern text editors usually show some information regarding the document being edited. For example, the number of words, the number of pages, or the n 阅读全文
posted @ 2018-03-07 13:54 Fitz~ 阅读(174) 评论(0) 推荐(0)
摘要:Carries frog has nn integers a1,a2,…,ana1,a2,…,an, and she wants to add them pairwise. Unfortunately, frog is somehow afraid of carries (进位). She defi 阅读全文
posted @ 2018-03-06 19:40 Fitz~ 阅读(180) 评论(0) 推荐(0)
摘要:Hassan is in trouble. His mathematics teacher has given him a very difficult problem called 5-sum. Please help him. The 5-sum problem is defined as fo 阅读全文
posted @ 2018-03-05 22:53 Fitz~ 阅读(166) 评论(0) 推荐(0)