- 博客(3)
- 收藏
- 关注
原创 省赛模拟a
进制转换 k = A / B d = A % B #include #include #include int c; char a[35], b[35]; int jinzhi(char c){ if (c == 'a') return 10; if (c == 'b') return 11; if (c == 'c') return 12; if (c
2015-11-22 19:07:20 223
原创 uva11205 The broken pedometer
计时器坏了 判断至少几列数字可以判断出这几个数字 子集 位向量法 #include #include int mat[105][20], b[20]; int min, p, n; void subset(int cur){ if (cur == p) { for (int i = 0; i < n - 1; i++) for (int j = i + 1; j < n;
2015-11-18 15:43:53 359
原创 uva10167Birthday Cake
题目复制过来格式有错就不复制了 给一块蛋糕 一堆樱桃 求一条直线能够平分所有的樱桃 即有一半的樱桃在线的上方,一半在下方 樱桃不能在线上 0ut 0 1
2015-11-09 15:03:00 300
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人