码迷,mamicode.com
首页 >  
搜索关键字:dig    ( 2020个结果
【考试反思】联赛模拟测试15 To be continued
建议改成:凯爹吊打 std。 凯爹被卡常了,可恶啊。 基础篇,但成功暴露了基础很薄弱。T4 LCIS 完全没思路。 T1: 90 \(\rightarrow\) 80 T1:游戏 对自己暴力太自信了,想数据点分治,但显然 \(O(10!\cdot 10)\) 显然是跑不过 500ms的 = =。 其 ...
分类:其他好文   时间:2020-10-13 17:47:16    阅读次数:29
【leetcode】加一
int* plusOne(int* digits, int digitsSize, int* returnSize){ int i,carry=1; int* arr = (int*)calloc(digitsSize+1,sizeof(int)); for (i=digitsSize-1; i>= ...
分类:其他好文   时间:2020-09-17 22:54:01    阅读次数:25
每日一道 LeetCode (43):翻转二进制数
每天 3 分钟,走上算法的逆袭之路。 前文合集 每日一道 LeetCode 前文合集 代码仓库 GitHub: https://github.com/meteor1993/LeetCode Gitee: https://gitee.com/inwsy/LeetCode 题目:翻转二进制数 题目来源: ...
分类:其他好文   时间:2020-09-17 21:35:31    阅读次数:34
【leetcode】转变日期格式
char * reformatDate(char * date){ int len = strlen(date); int i,j=0; char* str = (char*)calloc(len*2,sizeof(char)); char* arr[] = {"Jan","01","Feb","0 ...
分类:其他好文   时间:2020-09-17 20:28:40    阅读次数:42
CCS - Baseband Digital Transmission - Signal Constellation Diagrams for Binary Signals -Signal Waveforms with Multiple Amplitude Levels (M = 2, 4, 8, 16)
Signal Waveforms with Multiple Amplitude Levels Matlab Coding, 1 % MATLAB script for the probability of a symbol error for M = 2, 4, 8, 16 2 echo on 3 ...
分类:其他好文   时间:2020-09-17 20:10:51    阅读次数:28
编写脚本checkint.Sh,判断用户输入的参数是否为正整数
[root@centos8 ~]#cat checks.sh #!/bin/bash #******************************************************************** #Author: wei #QQ: #Date: #FileName: c ...
分类:其他好文   时间:2020-09-11 15:47:14    阅读次数:46
MAP函数和Reduce函数
"""map(fn,lsd)fn:是一个函数 可以是自己定义的 可以是python内置的lsd:是一个序列功能:把lsd中的每个元素一次作用在fn上惰性序列 :不转换 就不会转换"""# L = ["0","1","2","3","4","5","6","7","8","9","10"]# def ...
分类:其他好文   时间:2020-09-11 14:22:04    阅读次数:31
yum install gcc报错Error: Package: glibc-2.17-260.el7_6.6.i686 (updates) Requires: glibc-common = 2.17
yum install gcc 结果报错: [root@localhost ~]# yum install gcc Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * epel: ...
分类:其他好文   时间:2020-08-27 17:12:52    阅读次数:174
python决策树
一、CART算法的实现 #encoding:utf-8 from sklearn.model_selection import train_test_split from sklearn.metrics import accuracy_score from sklearn.tree import D ...
分类:编程语言   时间:2020-08-18 15:46:03    阅读次数:110
学习Linux第二周
Linux基础
分类:系统相关   时间:2020-08-13 22:10:04    阅读次数:76
2020条   上一页 1 ... 3 4 5 6 7 ... 202 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!