2015年9月26日
摘要: Problem Description I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B.Input The fir... 阅读全文
posted @ 2015-09-26 15:41 cnxo 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 算法竞赛入门经典第二版p52 例题3-5: 如果x+x的各个数字之和得到y,就是说x是y的生成元。给出n(1#include #define maxn 100005int anx[maxn];int main(){ int T,n; memset(anx,0,sizeo... 阅读全文
posted @ 2015-09-26 15:10 cnxo 阅读(389) 评论(0) 推荐(0) 编辑