简介 使用感觉类似动态规划的思路进行计算 code class Solution { public: int maxProfit(vector<int>& prices) { int inf = 1e9; int minPrice = inf; int maxProfit = 0; for(auto ...
分类:
其他好文 时间:
2021-05-24 13:09:51
阅读次数:
0
如果在程序中禁用了SWD调试接口,即将SWD所用的IO口当作普通的IO口使用时,下载完第一次程序后,如果从flash启动(BOOT0==0)则无法继续使用SWD接口重新下载程序或者调试; 此时可能会出现如下提示: Connecting … Connecting via USB to J-Link d ...
分类:
其他好文 时间:
2021-05-24 12:33:42
阅读次数:
0
wxml: <!--导航条--><view class="navbar"> <text wx:for="{{navbar}}" data-idx="{{index}}" class="item {{currentTab==index ? 'active' : ''}}" wx:key="unique ...
分类:
微信 时间:
2021-05-24 12:04:59
阅读次数:
0
Android 黑马学习视频 目录 01、安卓基础+JNI (14天) 02、Android应用开 发-代码版本管理和实战(1天) 03、android案 例与项目_手机安全卫士(12天) 04、自定义控件与视图(2天) 05、android项目实战_ 智慧北京(6天) 06、android项目实战 ...
分类:
移动开发 时间:
2021-05-24 11:09:42
阅读次数:
0
/system/core/libutils/include/utils/Condition.h 1 // 2 3 // DO NOT USE: please use std::condition_variable instead. 4 5 /* 6 * Condition variable clas ...
分类:
移动开发 时间:
2021-05-24 10:49:00
阅读次数:
0
frameworks/base/core/java/android/os/ConditionVariable.java 1 /* 2 * Copyright (C) 2006 The Android Open Source Project 3 * 4 * Licensed under the Apa ...
分类:
移动开发 时间:
2021-05-24 10:45:44
阅读次数:
0
1、指定包 adb logcat | findstr <packagename> >F:\test.log 2、指定时间 adb logcat -v threadtime -t '08-08 08:08:08.000' >F:\test.log 3、打印到cmd adb logcat 4、打印 信息 ...
分类:
移动开发 时间:
2021-05-24 10:00:37
阅读次数:
0
finish()官方解析:Call this when your activity is done and should be closed. The ActivityResult is propagated back to whoever launched you via onActivityRe ...
分类:
移动开发 时间:
2021-05-24 09:59:42
阅读次数:
0
<?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:a ...
分类:
其他好文 时间:
2021-05-24 09:58:36
阅读次数:
0
Vue页面template <template> <div> <canvas style="width: 80%!important;height: auto!important;" id="canvas"></canvas> <br/>{{charId}} </div> </template> V ...
分类:
Web程序 时间:
2021-05-24 09:24:28
阅读次数:
0