
小数学
文章平均质量分 83
DTL66
细节决定成败
展开
-
I - Jam's math problem
I - Jam’s math problemTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u SubmitStatus Description Jam has a math problem. He just learned factorization. He is trying to f原创 2016-07-24 15:08:54 · 327 阅读 · 0 评论 -
LIGHT OJ 1109 - False Ordering 【因子个数】
1109 - False Ordering PDF (English)StatisticsForumTime Limit: 1 second(s)Memory Limit: 32 MBWe define b is a Divisor of a number a if a is divisible b原创 2016-08-25 21:24:30 · 383 阅读 · 0 评论 -
HDU-1115 Bungee Jumping
Bungee JumpingTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u SubmitStatusPracticeHDU 1155 Description Once again, James Bond is fleeing from some evil people who want t原创 2016-08-14 19:20:48 · 287 阅读 · 0 评论 -
BZOJ 2456 mode 【思维(入门)】
2456: modeTime Limit: 1 Sec Memory Limit: 1 MBSubmit: 3625 Solved: 1521[Submit][Status][Discuss]Description给你一个n个数的数列,其中某个数出现了超过n div 2次即众数,请你找出那个数。Input第1行一个正整数n。第2行n个正整数用空格隔开原创 2016-09-18 14:34:48 · 340 阅读 · 0 评论 -
ZZULLI OJ Contest - 东北省赛训练赛 Problem E: 蛤玮准备礼物【区间求和(打表思想),闰年,容斥】
Problem E: 蛤玮准备礼物Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 870 Solved: 144SubmitStatusWeb BoardDescription蛤玮的妹子要过生日了,经过千挑万选,蛤玮决定给妹子买一盒水彩铅笔,然而卖多少个才合适呢.机智的蛤玮决定数一数今天是妹原创 2016-09-21 16:36:12 · 574 阅读 · 0 评论 -
HDU 1568 Fibonacci 【FIB通项公式+log10取前N为位数】
FibonacciTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4880 Accepted Submission(s): 2262Problem Description2007年到来了。经原创 2016-11-10 23:02:12 · 464 阅读 · 0 评论 -
HihoCode 1284 : 机会渺茫【约数个数】
#1284 : 机会渺茫Time Limit:5000msCase Time Limit:1000msMemory Limit:256MBDescription小Hi最近在追求一名学数学的女生小Z。小Z其实是想拒绝他的,但是找不到好的说辞,于是提出了这样的要求:对于给定的两个正整数N和M,小Hi随机选取一个N的约数N',小Z随机选取一原创 2016-11-01 13:36:39 · 494 阅读 · 0 评论 -
LIGHTOJ 1414 - February 29【Leap】
1414 - February 29 PDF (English)StatisticsForumTime Limit: 1 second(s)Memory Limit: 32 MBIt is 2012, and it's a leap year. So there is a "February 29"原创 2016-11-01 16:49:16 · 506 阅读 · 0 评论 -
LIGHT OJ 1245 - Harmonic Number (II) 【找规律】
1245 - Harmonic Number (II) PDF (English)StatisticsForumTime Limit: 3 second(s)Memory Limit: 32 MBI was trying to solve problem '1234 - Harmonic Numbe原创 2016-12-05 13:47:07 · 417 阅读 · 0 评论 -
LIGHToj 1282 - Leading and Trailing 【对数+快速幂取模】
1282 - Leading and Trailing PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBYou are given two integers: n and k, your task is to原创 2016-08-24 00:19:51 · 429 阅读 · 0 评论 -
LIGHT OJ 1331 - Agent J 【余弦定理+海伦公式】
1331 - Agent J PDF (English)StatisticsForumTime Limit: 1 second(s)Memory Limit: 32 MBAgent J is preparing to steal an antique diamond piece from a mus原创 2016-08-25 20:27:49 · 538 阅读 · 0 评论 -
LIGHT OJ 1225 - Palindromic Numbers (II)【回文数】
1225 - Palindromic Numbers (II) PDF (English)StatisticsForumTime Limit: 0.5 second(s)Memory Limit: 32 MBA palindromic number or numeral palindrome is原创 2016-08-25 20:14:17 · 498 阅读 · 0 评论 -
LIGHT OJ 1136 - Division by 3【找规律】
1136 - Division by 3 PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBThere is sequence 1, 12, 123, 1234, ..., 12345678910, ... .原创 2016-08-25 20:03:12 · 527 阅读 · 0 评论 -
E - Internet Service Providers
E - Internet Service ProvidersTime Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu SubmitStatus Description A group of N Internet Service Provider companies (ISPs) use a privat原创 2016-07-24 15:57:19 · 429 阅读 · 0 评论 -
L - New Skateboard
L - New SkateboardTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u SubmitStatus Description Max wants to buy a new skateboard. He has calculated the amount of money that原创 2016-07-24 17:58:57 · 374 阅读 · 0 评论 -
R - Answering Queries
R - Answering QueriesTime Limit:3000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu SubmitStatus Description The problem you need to solve here is pretty simple. You are give a function原创 2016-07-24 21:36:42 · 307 阅读 · 0 评论 -
C - Ekka Dokka
C - Ekka DokkaTime Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu SubmitStatus Description Ekka and his friend Dokka decided to buy a cake. They both love cakes and that’s why原创 2016-07-24 22:48:19 · 606 阅读 · 0 评论 -
LIGHT OJ-1294 Positive Negative Sign
F - Positive Negative SignTime Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu SubmitStatus Description Given two integers: n and m and n is divisible by 2m, you have to w原创 2016-08-07 00:16:39 · 287 阅读 · 0 评论 -
LIGHT OJ-1008 Fibsieve`s Fantabulous Birthday
B - Fibsieve`s Fantabulous BirthdayTime Limit:500MS Memory Limit:32768KB 64bit IO Format:%lld & %llu SubmitStatus Description Fibsieve had a fantabulous (yes, it’s an actual word) birthday p原创 2016-08-07 00:33:12 · 371 阅读 · 0 评论 -
CodeForces 554B Ohana Cleans Up 【思维+map】
Ohana Cleans UpTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u DescriptionOhana Matsumae is trying to clean a room, which is divided up into an n by n grid of squares.原创 2016-08-22 21:21:48 · 321 阅读 · 0 评论 -
LIGHTOJ 1045 - Digits of Factorial 【阶乘取对数】
1045 - Digits of Factorial Time Limit: 2 second(s) Memory Limit: 32 MBDescriptionFactorial of an integer is defined by the following functionf(0) = 1f(n) = f(n - 1) * n, if(n > 0)So, fac原创 2016-08-23 21:02:57 · 917 阅读 · 0 评论 -
LIGHT OJ-1305 - Area of a Parallelogram 【向量叉积】
1305 - Area of a Parallelogram PDF (English)StatisticsForumTime Limit: 1 second(s)Memory Limit: 32 MBA parallelogram is a quadrilateral with two pairs原创 2016-08-25 19:12:08 · 390 阅读 · 0 评论 -
LIGHT OJ-1022 - Circle in Square【浮点精度】
1022 - Circle in Square PDF (English)StatisticsForumTime Limit: 0.5 second(s)Memory Limit: 32 MBA circle is placed perfectly into a square. The term p原创 2016-08-25 19:21:15 · 412 阅读 · 0 评论 -
LIGHT OJ 1138 - Trailing Zeroes (III)【N!后0的个数&&二分(好题)】
1138 - Trailing Zeroes (III) PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBYou task is to find minimal natural number N, so原创 2016-12-09 14:38:14 · 432 阅读 · 0 评论