摘要:
1 #!/usr/bin/python 2 # Author: Missa 3 4 b = [1]*10 5 #print b 6 for i in range(0,10): 7 print b[i], 8 for i in range(0,10): 9 print b[i]10 11 a = [[1000]*10]*1012 #print a13 for i in range(0,10):14 for j in range(0,10):15 print a[i][j], 阅读全文
posted @ 2013-02-25 23:49
Missa
阅读(35363)
评论(0)
推荐(0)
摘要:
http://codeforces.com/problemset/problem/276/C比赛的时候用的线段树。裸的吧。还wa了3次。。 1 //lazy_tag 2 //区间求和操作 3 #include <iostream> 4 #include <cstdio> 5 #include <cstring> 6 #include <cmath> 7 #include <algorithm> 8 using namespace std; 9 10 #define lson l,m,rt<<111 #define rson 阅读全文
posted @ 2013-02-25 23:26
Missa
阅读(240)
评论(0)
推荐(0)

浙公网安备 33010602011771号