- 博客(12)
- 收藏
- 关注
原创 1034
#include #include using namespace std; #define DEBUG_IO (0) #define DEBUG (0) struct Node { int x; int y; int s; Node():x(0),y(0),s(0) { } }; const int N =
2015-07-29 23:33:42 462
原创 1036
#include #define DEBUG_IO (0) const int N = 1002; char str[N]; int str_len; void quick_sort(char array[], int l, int r); int main() { #if DEBUG_IO freopen("input.txt", "r", stdin);
2015-07-29 23:33:30 376
原创 1025约瑟夫问题
#include #define DEBUG_IO (0) const int MAX = 1001; typedef struct Node { Node* next; int x; Node():next(0),x(0){} }; int main() { #if DEBUG_IO freopen("input.txt
2015-07-27 21:49:03 433
原创 2531
#include using namespace std; const int SIZE = 21; int QA[SIZE] = {0}; int QB[SIZE] = {0}; int map[SIZE][SIZE] = {0}; int N = 0; int tem = 0; int sum = 0; void dfs(int a, int b, int step); int ma
2015-07-27 21:48:43 475
原创 1027
#include #define DEBUG_IO (0) const int MAX = 85; const int INF = 65535; bool isOver = false; int N, M; int answer; int n[MAX]; int vis[MAX]; void dfs(int m, int step) { if(m 0 && isOver == true &&
2015-07-27 21:48:07 376
原创 [2015年7月][20~25][poj2823, 项目问题解决]
周一: 1.事先应该和QA说明哪些case是正常的,哪些是不正常的,要怎改。不然后面被动,改好了在协商,万一到时不同意,那就悲剧了。 2.刷内部水题。1021,字符输入的时候,scanf会吧空格,换行之类的也读进去。只能这样输入,用以保证你输入的字符是正确的,舍弃不需要的: do { scanf("%c", &temp); }while(temp != '0'
2015-07-27 21:42:20 377
原创 [2015年7月][13~18][poj2823, 项目问题解决]
周一: (1)弹性一个半小时 (2)确认plmn问题,从主分支merge,解决。现在看来,实际上是由于自己不够细心去看log,如果仔细一些,对照函数确认每句,或许早早就可以解决。同时,更多的时间是花费在确认,这样的显示是不是正确的?问题是什么?标准又是什么?所以本质上来讲,只有确认了标准,才能判定该怎么显示。 (3)又来几个bug,我留到晚上才来逐个确认,而其他交互模块的同事早就下班了。现在
2015-07-13 22:30:22 383
原创 [2015年7月][6~10][解bug,算法学习]
一.2015-07-07 1. bug都转了,其余时间基本都是在测试重现。 2.解决POJ-1328, Radiar installation.自己想的方法不对,做不出来。无奈只能百度参考网上的思路,然后豁然开朗。转换成区间来解决。 二.2015-07-08 1.协助CP规避一个问题。看文档,复习业务,相当于无效。 2.解决公司内部POJ-1017关于数字排列的,知道用DFS,但是不知道
2015-07-08 23:14:45 559
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人