码迷,mamicode.com
首页 >  
搜索关键字:ll    ( 5333个结果
主席树模板之历史版本
P3919 【模板】可持久化线段树 1(可持久化数组) AC_Code: 1 #include <bits/stdc++.h> 2 using namespace std; 3 typedef long long ll; 4 const int maxn=1e6+10; 5 const int mo ...
分类:其他好文   时间:2020-07-22 20:49:10    阅读次数:77
Linux如何管理用户组?
什么是用户组 组分为两类 基本组 #一个用户只能拥有一个基本组 附加组 #当基本组的权限不够用户使用的,就出现了附加组 一个用户允许拥有多个附加组 跟组相关的文件 [root@clf ~]# ll /etc/group-rw-r--r-- 1 root root 573 Jul 21 11:04 / ...
分类:系统相关   时间:2020-07-21 23:20:16    阅读次数:102
Linux命令行故障
如果删除的时候提示权限不足 [root@clf ~]# mkdir -m 700 /home/test01[root@clf ~]# ll -d /home/test01drwx 2 root root 6 Jul 21 10:53 /home/test01[root@clf ~]# chown - ...
分类:系统相关   时间:2020-07-21 22:25:14    阅读次数:79
Basic Gcd Problem
这题是真GOU了,改bug改到自闭了。 ‘ 同样都是预处理,人家加了个素数筛就能过,我没加就疯狂W,W到自闭,其实知道题简单的一批,只需要预处理一下,从n分解到1需要多少次,然后存到数组里就行了,真的是W吐了 #include <bits/stdc++.h> typedef long long ll ...
分类:其他好文   时间:2020-07-21 09:42:09    阅读次数:73
CF163E e-Government(Ac自动机)
跑ac自动机后使用fail树建立dfs序后跑树状数组维护答案 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=1e6+10; struct node{ int cnt; node * nxt ...
分类:其他好文   时间:2020-07-19 00:37:01    阅读次数:84
CF1380G.Circular Dungeon
#include<bits/stdc++.h> using namespace std; typedef long long ll; const int maxn=3e5+100; const int mod=998244353; ll fpow (int x,int y) { ll ans=1; ...
分类:其他好文   时间:2020-07-18 22:52:12    阅读次数:105
Linux 文件基本属性
Linux 文件基本属性 Linux系统是一种典型的多用户系统,不同的用户处于不同的地位,拥有不同的权限。为了保护系统的安全性,Linux系统对不同的用户访问同一文件(包括目录文件)的权限做了不同的规定。 在Linux中我们可以使用ll或者ls –l命令来显示一个文件的属性以及文件所属的用户和组,如 ...
分类:系统相关   时间:2020-07-18 22:32:51    阅读次数:109
矩阵快速幂模板
#include<bits/stdc++.h> using namespace std; typedef long long ll; const int maxn=105; const int mod=1e9+7; int n; struct matrix { ll a[maxn][maxn]; m ...
分类:其他好文   时间:2020-07-18 22:14:26    阅读次数:75
Codeforces Round #656 (Div. 3)
Three Pairwise Maximums #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=2e5+3; typedef long long ll; const ll inf=1e18; ...
分类:其他好文   时间:2020-07-18 11:29:01    阅读次数:89
EOJ Monthly 2020.7 Sponsored by TuSimple E.因数串 数学/ 构造
给定一个n表示a的质因数个数。 接下来n行给出质数及其指数。 按要求输出其因数,满足如下要求: 当前数是前一个数通过乘一个质数或者除以一个质数得到。 反正就是构造嘛。对于每一个i,必然要遍历前面的所有情况。其实就是升升降降。 vector<ll> ans; vector<ll> p(16); vec ...
分类:其他好文   时间:2020-07-18 11:22:49    阅读次数:70
5333条   上一页 1 ... 14 15 16 17 18 ... 534 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!