摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1111复数除法: 1 #include 2 #include 3 #include 4 using namespace std; 5 6 int a[110]; 7 __int64 n; 8 int x1,... 阅读全文
posted @ 2014-08-01 16:37 null1019 阅读(198) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=4902题意:给你n个数,q个操作,操作有两种:1,在[L,R]区间内的数直接变为x。2,在[L,R]区间内比x大的数变成gcd(A[i],x);最后输出n个数。 1 #include 2 #include ... 阅读全文
posted @ 2014-08-01 14:26 null1019 阅读(217) 评论(0) 推荐(0) 编辑