2018年9月9日

[编程题] 回溯法 - 判断字符矩阵中是否可以有某字符串的路径

该文被密码保护。 阅读全文

posted @ 2018-09-09 20:14 HelloShijam 阅读(0) 评论(0) 推荐(0) 编辑

[编程题]26进制数之和

该文被密码保护。 阅读全文

posted @ 2018-09-09 20:05 HelloShijam 阅读(0) 评论(0) 推荐(0) 编辑

2018年9月8日

[编程题]大数的运算

该文被密码保护。 阅读全文

posted @ 2018-09-08 20:01 HelloShijam 阅读(5) 评论(0) 推荐(0) 编辑

2018年9月3日

[编程题]两个字符串中最大公共子字符串

该文被密码保护。 阅读全文

posted @ 2018-09-03 17:18 HelloShijam 阅读(4) 评论(0) 推荐(0) 编辑

2018年8月30日

招银2018[编程题]小招喵跑步

该文被密码保护。 阅读全文

posted @ 2018-08-30 11:23 HelloShijam 阅读(17) 评论(0) 推荐(0) 编辑

2018年8月29日

招银2018[编程题]寻找合法字符串

该文被密码保护。 阅读全文

posted @ 2018-08-29 20:38 HelloShijam 阅读(19) 评论(0) 推荐(0) 编辑

招银2018[编程题]字符串是否由子串拼接

该文被密码保护。 阅读全文

posted @ 2018-08-29 11:24 HelloShijam 阅读(22) 评论(0) 推荐(0) 编辑

2018年7月31日

第一位能被1整除,前两位能被2整除,...,前九位能被9整除

摘要: #include #include using namespace std; void nineBitInteger(int k, long long a, bool *check, vector &result) { //判断是否可以被位数(k)整除,不可则结束 if (k&&a%k != 0)return; //第9位也符合条件则将数A保存起来 if (k == 9) { ... 阅读全文

posted @ 2018-07-31 17:14 HelloShijam 阅读(775) 评论(0) 推荐(0) 编辑

2018年3月7日

单链表指针反向(即链表地址逆转)

摘要: //head为原始链表的头节点地址listNode *buf = head;listNode *pre = buf;while(head->next != NULL){ buf = head->next; head->next = buf->next; buf->next = pre; pre = 阅读全文

posted @ 2018-03-07 16:31 HelloShijam 阅读(237) 评论(0) 推荐(0) 编辑

2018年3月1日

c++ 利用new动态的定义二维数组

摘要: #include using namespace std; int main() { int row = 4, col = 5; // key code: 申请空间 int **edge = (int **) new int *[row]; for (int i = 0; i < row; i++) { edge[i] = new in... 阅读全文

posted @ 2018-03-01 21:45 HelloShijam 阅读(6982) 评论(0) 推荐(0) 编辑

导航