ICode9

精准搜索请尝试: 精确搜索
  • 11242021-11-25 08:31:06

    ### 项目初始化 `npm init` `npm inti -y` ### 项目依赖(包) `npm install` `npm install 包名  --save(-S)` `npm install 包名 -g` `npm install 包名@版本号` `npm updata ...` ` npm uninstall 包名 -g` 可选的 speed 参数规定隐藏/显示的速度,可以取以下值:"slow"、"fast" 或

  • swap命令2021-09-08 16:01:00

    [root@liutao ~]# swapon -a #开启swap swapon: /swap: insecure permissions 0644, 0600 suggested. [root@liutao ~]# free -m total used free shared buff/cache available Mem: 1838 550 831 0

  • 冒死上传!阿里内部绝密1124道面试真题手抄本限时开源!2021-07-23 17:32:59

    Java面试 我们都知道一场完整的Java面试考察的点不仅仅是技术硬实力,还有你的面试软实力。很多时候你技术水平明明已经到了,但是面试却老是不过。原因无非就是两点:1.面试前的准备工作没有做好 2.面试过程中你根本没有get到面试官问出这个问题的意图,回答的时候自然而然也答不到点上

  • AcWing 1124. 骑马修栅栏2021-07-15 23:03:24

    原题链接 考察:欧拉路径 思路:   根本不难,注意\(ans\)数组不要开小了..... Code #include <iostream> #include <cstring> using namespace std; const int N = 510; int m,g[N][N],d[N],maxn,ans[N<<2],cnt,minv = N; void dfs(int u) { for(int i=minv;i<=maxn;i++)

  • [LeetCode] 1124. Longest Well-Performing Interval 表现良好的最长时间段2021-05-16 02:03:39

    We are given hours, a list of the number of hours worked per day for a given employee. A day is considered to be a tiring day if and only if the number of hours worked is (strictly) greater than 8. A well-performing interval is an interval of days for

  • pat-11242021-01-24 12:05:55

    发现一个重要问题,如果用一个临时变量重复输入,再建立键值对,只能用cin>>,不能用scanf  #include<iostream> #include<map> using namespace std; map<string,int> pos; int main(){ int m,n,s; scanf("%d %d %d",&m,&n,&s); for(int i=1;i<=m;i++){ s

  • 1124考试总结2020-11-26 06:31:31

    1124考试总结 T1 ​ 题目大意 : ​ n 点 m 边无向图,每点度数至多为 3,边容量为 1,求任意两点间最大流之和。\(n <= 3000, m <= 4500\) ​ ​ Tarjan求边双 + 并查集 + 哈希. ​ 首先可以想到是不可以任选两个点然后跑一边网络流的, 那么我们发现每个点的度数很小, 我们可以考虑从度

  • 【leetcode】1124. Longest Well-Performing Interval2019-08-20 21:54:54

    题目如下: We are given hours, a list of the number of hours worked per day for a given employee. A day is considered to be a tiring day if and only if the number of hours worked is (strictly) greater than 8. A well-performing interval is an interval of

  • 1124:矩阵加法2019-08-02 20:06:30

    1124:矩阵加法 时间限制: 1000 ms 内存限制: 65536 KB 【题目描述】 输入两个n行m列的矩阵A和B,输出它们的和A+B。 【输入】 第一行包含两个整数n和m,表示矩阵的行数和列数(1≤n≤100,1≤m≤100)。 接下来n行,每行m个整数,表示矩阵A的元素。 接下来n行,每行m个整数,表示矩阵

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有