一、字符串的表示和存储 字符串是字符的序列,每个字符都有有一个数字作为标识,同时会有一个将标识转换为存储字节的编码方案; s = 'hello world python' for c in s: print(c, end=' ') h e l l o w o r l d p y t h o n AC ...
分类:
编程语言 时间:
2021-04-23 12:20:35
阅读次数:
0
INSERT INTO employees VALUES ( 206 , 'William' , 'Gietz' , 'WGIETZ' , '515.123.8181' , TO_DATE('07-06-1994', 'dd-MON-yyyy') , 'AC_ACCOUNT' , 8300 , NU ...
分类:
数据库 时间:
2021-04-22 16:00:39
阅读次数:
0
题目链接 A. Average Height 奇数放一侧,偶数放一侧即可。 AC代码如下: #include<cstring> #include<algorithm> #include<cmath> #include<iostream> #include<queue> #include<cstdio ...
分类:
其他好文 时间:
2021-04-19 15:52:38
阅读次数:
0
##题意 求最长上升子序列长度 ##思路 本题直接用dp写,会超时,需要优化 优化办法:二分+dp ##AC代码 //4test n //6 p //4 2 6 3 1 5 ->3 //10 //2 3 4 5 6 7 8 9 10 1 ->9 //8 //8 7 6 5 4 3 2 1 ->1 / ...
分类:
其他好文 时间:
2021-04-19 14:47:09
阅读次数:
0
##思路 最长上升子序列的变形+记录路径 ##AC代码 #include<iostream> #include<cmath> #include<string.h> #include<algorithm> #include<stdio.h> #include<iomanip> #define inf ...
分类:
其他好文 时间:
2021-04-19 14:43:51
阅读次数:
0
注释: 本文中出现的所有题目均来自于网络 本人只是对其进行解答和注释 所有题目均为个人解答方案,如有纰漏或更好的解答欢迎指正 选择题1-10: 下面属于关键字的是: func def struct class [答案]:AC [解析&扩展]: func用于定义函数,故A正确。 def是python中 ...
分类:
其他好文 时间:
2021-04-15 11:59:14
阅读次数:
0
一、系统烧录 工具:SDFormatter(格式化sd卡),Win32DiskImager(向sd卡写入系统) 1. 使用SDFormatter格式化sd卡 使用默认的快速格式化即可,需要格式化两次才能成功。 2. 在树莓派官网下载最新系统镜像。 Operating system images 推荐 ...
分类:
Web程序 时间:
2021-04-14 12:07:19
阅读次数:
0
A-AC 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K Special Judge, 64bit IO Format: %lld 题目描述 Crystal's fortune predict system is successfully de ...
分类:
其他好文 时间:
2021-04-07 11:07:42
阅读次数:
0
A. Déjà Vu 本题的思路是找一个位置使得新添加的a所对应的字符不是a即可。 AC代码如下(可能写复杂了): #include<bits/stdc++.h> #define MAXN 300005 using namespace std; typedef long long ll; int t ...
分类:
其他好文 时间:
2021-04-06 14:48:59
阅读次数:
0
1. 在容器里查看 / $ ip link show eth0 531: eth0@if532: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1500 qdisc noqueue state UP link/ether 02:42:ac:12:00:06 ...
分类:
其他好文 时间:
2021-03-30 12:45:47
阅读次数:
0