码迷,mamicode.com
首页 >  
搜索关键字:turn    ( 27138个结果
Xor Sum 2 AtCoder - 4142 (异或前缀和性质+ 双指针)
Problem Statement There is an integer sequence A of length N. Find the number of the pairs of integers l and r (1≤l≤r≤N) that satisfy the following co ...
分类:其他好文   时间:2019-05-10 13:15:41    阅读次数:121
实训SI
1 package bbb; 2 3 import java.util.Scanner; 4 5 public class ccc { 6 public static void main(String [] argc){ 7 int x,y,num; 8 Scanner in = new Scann... ...
分类:其他好文   时间:2019-05-10 13:12:18    阅读次数:108
14. 最长公共前缀
编写一个函数来查找字符串数组中的最长公共前缀。 如果不存在公共前缀,返回空字符串 ""。 示例 1: 输入: ["flower","flow","flight"] 输出: "fl" 示例 2: 输入: ["dog","racecar","car"] 输出: "" 解释: 输入不存在公共前缀。 说明: ...
分类:其他好文   时间:2019-05-09 23:56:04    阅读次数:236
2018-2019-2 网络对抗技术 20165318 Exp 8 Web基础
2018 2019 2 网络对抗技术 20165318 Exp 8 Web基础 "原理与实践说明" "实践内容概述" "基础问题回答" "实践过程记录" "1.Web前端:HTML" "2.Web前端:javascipt" "3.Web后端:MySQL基础" "4.Web后端:编写PHP网页" "5 ...
分类:Web程序   时间:2019-05-09 23:31:05    阅读次数:237
Dijk入门(杭电2544题)
#include #include using namespace std; #define INF 0x3f3f3f3f int n,m; int map[105][105]; int vis[105]; int stemp[105]; int dijk(){ memset(vis,0,sizeo... ...
分类:其他好文   时间:2019-05-09 23:29:06    阅读次数:172
CSC334/424
CSC334/424Assignment #2Deliverables: Turn in your answers in a single PDF file. Copy any R output relevant to your answerinto your document and explai ...
分类:其他好文   时间:2019-05-09 19:59:32    阅读次数:107
elementUITable的多选框:分页选择数据回显,分页保存选中的数据。
...
分类:其他好文   时间:2019-05-09 19:53:39    阅读次数:1784
算法整理
1.冒泡排序 $arr = array(5,2,6,2,3,1); for($i=0;$i<count($arr);$i++){ for($j=count($arr);$j>$i;$j--){ if($arr[$i]>$arr[$j-1]){ $b = $arr[$i]; $arr[$i] = $a ...
分类:编程语言   时间:2019-05-09 18:25:49    阅读次数:102
golang slice去重
golang内没有类似python中集合的数据结构,所以去重这样的运算只能自己造轮子了。 随手写了两个示例,一个是string类型的,一个是int类型的 ...
分类:其他好文   时间:2019-05-09 17:07:02    阅读次数:153
vue中的组件
为了拆分Vue实例中的代码量,以不同的组件划分不同的功能,使用功能的时候直接调用相关的额组件就行了 模块化:从代码的逻辑角度进行划分的,方便代码的分层开发,每个模块的只能单一 组件化:从ui界面的角度进行划分的,方便ui间的复用 组件的实现方式 方式一: 使用 方式二: 方式三: 直接控制一个tem ...
分类:其他好文   时间:2019-05-09 15:40:57    阅读次数:121
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!