摘要:
前m大的数 Time Limit: 1000 MS Memory Limit: 32768 KB 64-bit integer IO format: %I64... 阅读全文
摘要:
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 ... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
问题描述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... 阅读全文
摘要:
//加法#include#include#include#include#include#include#include#include#include//STL数值算法头文件#include#include #include#include#include#include//模板类... 阅读全文
摘要:
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... 阅读全文
摘要:
费马大定理:当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... 阅读全文
摘要:
https://cn.vjudge.net/contest/157163#problem/E#include#include#include#include#include#include#include#include//STL数值算法头文件#include#include #in... 阅读全文
摘要:
http://blog.csdn.net/sunshinewave/article/details/8067862 阅读全文