- 博客(14)
- 资源 (8)
- 收藏
- 关注
原创 递归8_全排列
static int count = 0;@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from
2016-03-31 18:02:02 393
原创 递归7_旗子的移动问题
static int count = 1;@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from
2016-03-31 17:23:41 908
原创 递归6_简单的0/1背包问题 去除相同的数
static int maxM = 5;static int count = 0;@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the v
2016-03-31 16:25:47 487
原创 递归5_简单的0/1背包问题
static int maxM = 5;static int count = 0;@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the v
2016-03-31 15:58:09 688
原创 递归4_数组逆序
- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. int a[10] = {0,1,2,3,4,5,6,7,8,9}; inversion(10,a);}void inversion(in
2016-03-31 14:38:49 637
原创 递归3_计算多个数字
- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. printf("sum = %d",numOfSum(4, 5));}/** * 题目:求s=a+aa+aaa+aaaa+aa...a的
2016-03-31 14:03:20 331
原创 递归二 - 汉诺塔
- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. hanNuoTa('A','C','B',3);}void hanNuoTa(char a,char c ,char b,int n) {
2016-03-31 11:49:54 241
原创 递归二 最大公约数
- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. printf("最大公约数%d",greatestCommonFactor(98,63));}int greatestCommonFactor(
2016-03-31 11:22:30 244
原创 递归一
//// ViewController.m// 算法测试//// Created by apple on 16/3/30.// Copyright © 2016年 李重阳. All rights reserved.//#import "ViewController.h"int firstCount = 0;int inputNum[3] = {0};@interface Vi
2016-03-31 10:02:27 262
原创 导航条的属性
self.navigationBarHidden = YES; //导航条的隐藏self.interactivePopGestureRecognizer.delegate = nil;//系统的右滑
2016-03-16 21:22:12 382
原创 相册 相机 权限
#pragma mark - actionSheet Delegate- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex { if(buttonIndex == 0) {//摄像 //相机权限判断 AVAuthorization
2016-03-12 10:16:42 2393
转载 跳转去开启权限
// 跳到相册中 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=Privacy&path=Photos"]];//prefs 其实是 info 中的 URLScheme
2016-03-11 20:29:41 644
原创 手势的代理方法(解决了 手势和点击cell 的冲突)
#pragma mark - 手势的代理方法(解决了 手势和点击cell 的冲突)- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch { // 输出点击的view的类名 //NSLog(@"%@", NSStringFromCla
2016-03-10 15:38:05 1359
Apple_Debugging_and_Reverse_Engineering_v3.0.epub
2019-10-10
Vue.js权威指南_张耀春;黄轶;王静;苏伟;王瑾;殷献勇(著) _电子工业出版社.pdf.zip
2019-05-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人