上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 39 下一页
摘要: 前m大的数 Time Limit: 1000 MS Memory Limit: 32768 KB 64-bit integer IO format: %I64... 阅读全文
posted @ 2017-04-19 20:57 xushukui 阅读(335) 评论(0) 推荐(0) 编辑
摘要: There is a special number sequence which has n+1 integers. For each number in sequence, we have two rules: ● a i ∈ 0,n0,n ● a i ≠ a j( i ≠ j ... 阅读全文
posted @ 2017-04-18 08:58 xushukui 阅读(180) 评论(0) 推荐(0) 编辑
摘要: Paula and Tai are couple. There are many stories between them. The day Paula left by airplane, Tai send one message to telephone 2200284, then... 阅读全文
posted @ 2017-04-10 19:58 xushukui 阅读(163) 评论(0) 推荐(0) 编辑
摘要: Paula and Tai are couple. There are many stories between them. The day Paula left by airplane, Tai send one message to telephone 2200284, then... 阅读全文
posted @ 2017-04-10 19:55 xushukui 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 问题描述Little A gets to know a new friend, Little B, recently. One day, they realize that they are family 500 years ago. Now, Little A wants to k... 阅读全文
posted @ 2017-04-10 16:30 xushukui 阅读(131) 评论(0) 推荐(0) 编辑
摘要: //加法#include#include#include#include#include#include#include#include#include//STL数值算法头文件#include#include #include#include#include#include//模板类... 阅读全文
posted @ 2017-04-10 15:46 xushukui 阅读(134) 评论(0) 推荐(0) 编辑
摘要: There is a funny car racing in a city with n junctions and m directed roads.The funny part is: each road is open and closed periodically. Each... 阅读全文
posted @ 2017-04-06 22:40 xushukui 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 费马大定理:当n>2时,不定方程an+bn=cn没有正整数解。比如a3+b3=c3没有正整数解。为了活跃气氛,我们不妨来个搞笑版:把方程改成a3+b3=c3,这样就有解了,比如a=4, b=9, c=79时43+93=793。输入两个整数x, y, 求满足x#include#incl... 阅读全文
posted @ 2017-04-04 20:40 xushukui 阅读(310) 评论(0) 推荐(0) 编辑
摘要: https://cn.vjudge.net/contest/157163#problem/E#include#include#include#include#include#include#include#include//STL数值算法头文件#include#include #in... 阅读全文
posted @ 2017-04-04 20:27 xushukui 阅读(247) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/sunshinewave/article/details/8067862 阅读全文
posted @ 2017-04-04 19:38 xushukui 阅读(89) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 39 下一页