package com.example.datebasetest; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLite ...
分类:
移动开发 时间:
2020-06-09 11:19:58
阅读次数:
71
Given the array nums consisting of 2n elements in the form [x1,x2,...,xn,y1,y2,...,yn]. Return the array in the form [x1,y1,x2,y2,...,xn,yn]. Example ...
分类:
其他好文 时间:
2020-06-09 09:20:59
阅读次数:
68
513. 完美平方 中文English 给一个正整数 n, 请问最少多少个完全平方数(比如1, 4, 9...)的和等于n。 样例 样例 1: 输入: 12 输出: 3 解释: 4 + 4 + 4 样例 2: 输入: 13 输出: 2 解释: 4 + 9 输入测试数据 (每行一个参数)如何理解测试数 ...
分类:
其他好文 时间:
2020-06-08 23:32:51
阅读次数:
75
import java.util.Set; import java.util.HashSet; import java.util.Iterator; public class SetTest { public static void main(String[] args) { Set<String> ...
分类:
其他好文 时间:
2020-06-08 19:05:24
阅读次数:
60
安装需要的qt5的库 sudo apt-get install libqt5sql5 安装mysql插件 sudo apt-get install libqt5sql5-mysql 遇到问题 QSqlError(2002, "QMYSQL: Unable to connect", "Can't co ...
分类:
系统相关 时间:
2020-06-08 15:02:12
阅读次数:
164
node.js原?驱动 // mysql.js const mysql = require("mysql"); // 连接配置 const cfg = { host: "localhost", user: "root", password: "example", // 修改为你的密码 databas ...
分类:
其他好文 时间:
2020-06-08 14:29:24
阅读次数:
63
如图所示,输入ter,找到终端 打开终端,如图所示。 安装文件之前,需要切换到root用户,如图所示。 sudo apt-get install cmake qt5-default qtcreator,输入该命令,安装qt-5 如图所示,需要下载的文件较大,网速较慢,就不下载了。 如图所示,下载正在 ...
分类:
系统相关 时间:
2020-06-08 14:21:10
阅读次数:
88
1、mysql字符集乱码问题 参考这个博客的介绍内容https://www.cnblogs.com/digdeep/p/5228199.html, 一般设置SET NAMES = ‘XXX’即可统一字符集 2、mysql表字符集修改 针对的是已有数据的库更改字符集,主要分为以下几步,以下模拟从lat... ...
分类:
数据库 时间:
2020-06-08 13:06:45
阅读次数:
67
排序、去重与离散化 1. 排序 1.1 快速排序 1. 快速排序 #include <bits/stdc++.h> using namespace std; const int N = 1000010; int q[N]; void quick_sort(int q[], int l, int r) ...
分类:
编程语言 时间:
2020-06-08 11:03:33
阅读次数:
68
Decord Video Reader Example import decord as de from matplotlib import pyplot as plt # using cpu in this example ctx = de.cpu(0) # example video video ...
分类:
Web程序 时间:
2020-06-08 00:53:36
阅读次数:
95