
小数学
文章平均质量分 70
Oenheng
没有遗憾的人生是不完美的
展开
-
Trailing Zeroes
Trailing Zeroes (III)Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1138 uDebugDescriptionYou task is to find minimal natu原创 2016-08-15 20:14:07 · 244 阅读 · 0 评论 -
QAQ的区间统计
时间限制: 1 Sec 内存限制: 128 MB提交: 63 解决: 20[提交][状态][讨论版]题目描述QAQ有一个区间[L, R]。已知QAQ很喜欢长度为奇数的区间,现在请你告诉他有多少个长度为奇数的子区间。对于区间[2 4]来讲,它的子区间有[2 2] [2 3] [2 4] [3 3] [3 4] [4 4]共6个。为了简化题目,QAQ所给的区间里面全是非负整原创 2016-10-07 20:49:42 · 422 阅读 · 0 评论 -
周赛
F 圆周率用acos(-1.0) 使用longlongTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1331 uDebugDescriptionAgent J is preparing to st原创 2016-08-25 17:17:42 · 230 阅读 · 0 评论 -
周赛
D 圆周率用acos(-1.0) 使用longlongTime Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1136 uDebugDescriptionThere is sequence 1, 12, 1原创 2016-08-25 17:50:58 · 342 阅读 · 0 评论 -
周赛
H 圆周率用acos(-1.0) 使用longlongTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1109 uDebugDescriptionWe define b is a Divisor o原创 2016-08-25 17:27:28 · 291 阅读 · 0 评论 -
周赛
E 圆周率用acos(-1.0) 使用longlongTime Limit:500MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1225 uDebugDescriptionA palindromic number or num原创 2016-08-25 17:16:45 · 289 阅读 · 0 评论 -
周赛
B 圆周率用acos(-1.0) 使用longlongTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmitStatusPracticeLightOJ 1305uDebugDescriptionA parallelogram is a quadrilateral原创 2016-08-25 17:12:41 · 296 阅读 · 0 评论 -
周赛
圆周率用acos(-1.0) 使用longlongTime Limit:500MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmitStatusPracticeLightOJ 1182uDebugDescriptionGiven an integer n, first we represen原创 2016-08-25 17:10:52 · 264 阅读 · 0 评论 -
边之比的平方=面积之比
DescriptionSee the picture below.You are given AB, AC and BC. DE is parallel to BC. You are also given the area ratio between ADE and BDEC. You have to find the value of AD.InputInput原创 2016-08-23 21:36:20 · 749 阅读 · 0 评论 -
求n^k的前三位数和后三位数
DescriptionYou are given two integers: n and k, your task is to find the most significant three digits, and least significant three digits of nk.InputInput starts with an integer T (≤ 1000), d原创 2016-08-23 21:25:13 · 2028 阅读 · 0 评论 -
求一个区间有多少个数能整除k
Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 597ADescriptionFind the number of k-divisible numbers on the segment [a, b]. In ot原创 2016-08-23 20:36:04 · 2994 阅读 · 0 评论 -
Fibsieve`s Fantabulous Birthday
Fibsieve`s Fantabulous BirthdayTime Limit:500MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmitStatusPracticeLightOJ 1008uDebugDescriptionFibsieve had a fantabulous (yes原创 2016-08-23 11:19:49 · 482 阅读 · 0 评论 -
Jam's math problem
Jam's math problemTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 5615DescriptionJam has a math problem. He just learned factorization.原创 2016-08-15 21:31:00 · 249 阅读 · 0 评论 -
Ekka Dokka
Ekka DokkaTime Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1116 uDebugDescriptionEkka and his friend Dokka decided to buy a原创 2016-08-15 21:17:39 · 366 阅读 · 0 评论 -
Positive Negative Sign
Positive Negative SignTime Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1294 uDebugDescriptionGiven two integers: n and m and原创 2016-08-15 21:23:14 · 318 阅读 · 0 评论 -
QAQ的区间价值
时间限制: 1 Sec 内存限制: 128 MB提交: 56 解决: 34[提交][状态][讨论版]题目描述QAQ有一个整数序列,元素个数有N个,分别为1,2,3 ... N-1,N。假定用数组a[]来依次记录N个元素,那么区间[i, j]的价值 = sum(i, j) * Check(i, j)。其中sum(i, j) = a[i] + ... + a[j],表示区间原创 2016-10-07 20:51:01 · 364 阅读 · 0 评论