Are you a Linux fan? Do you hate to do things the easy way? Are you a pro who loves to put his computer’s life on the line to experiment and customize ...
分类:
其他好文 时间:
2020-11-12 13:37:01
阅读次数:
8
题意 $T$组数据$(n,m)$ 令$f(n)=\sum\limits_{d|n}|\mu(d)|$ 求$\sum\limits_^m f(ni)$ \(T\le 10^4,n,m\le 10^7\) 做法 显然$f(n)$是积性函数 则$f(ni)=\frac{f(n)f(i)}{f((n,i)) ...
分类:
其他好文 时间:
2020-11-11 16:07:42
阅读次数:
5
#include<iostream> #include<cstring> #include<cmath> using namespace std; char map[8][8]; int n, m, t; int dir[4][2]={{1,0},{-1,0},{0,1},{0,-1}}; bool ...
分类:
其他好文 时间:
2020-11-08 17:14:10
阅读次数:
17
#include<iostream> #include<cstdio> #include<set> #define MAXSIZE 51 using namespace std; set<int> s[MAXSIZE];/*建立set数组,自动除去重复的并且升序排好,然后利用count函数即可,知识 ...
分类:
其他好文 时间:
2020-11-07 16:42:41
阅读次数:
18
title: so的装载与链接 categories: 逆向与协议分析 toc: true mathjax: true tags: so 逆向 widgets: type: toc position: left type: profile position: left author: RunopeA ...
分类:
其他好文 时间:
2020-11-06 02:42:00
阅读次数:
22
Leetcode easy ListNode Leetcode 简单链表题目 21 合并两个有序链表 题目:将两个升序链表合并为一个新的 升序 链表并返回。新链表是通过拼接给定的两个链表的所有节点组成的。 /** * Definition for singly-linked list. * publ ...
分类:
其他好文 时间:
2020-11-06 02:28:36
阅读次数:
19
Leetcode(easy Double pointer) Leetcode 双指针简单题目 26 删除排序数组中的重复项 class Solution{ public int removeDuplicates(int[] nums){ // step代表慢指针 int step = 0; // 这 ...
分类:
其他好文 时间:
2020-11-06 02:28:21
阅读次数:
24
#[UOJ摸鱼]UOJ Easy Round #1解题报告 ##前言 没组队训练的时候就只能自己来啦! ##猜数 ###链接 http://uoj.ac/problem/12 ###题解 a,b都是g的倍数,然后n还是平方数。。那最小值就是两个乘数相等,最大值就是g+l啦。。 ###\(Code\) ...
分类:
其他好文 时间:
2020-11-06 01:40:36
阅读次数:
17
Leetcode(easy Bit) leetcode位运算的简单的题目总结 136 只出现一次的数字 题目:给定一个非空整数数组,除了某一个元素只出现一次之外,其余每个元素均出现了两次,找出那个只出现一次的元素。 说明:你的算法应该具有线性时间复杂度,而且尽量不使用额外空间 解题思路:用到了位运算 ...
分类:
其他好文 时间:
2020-11-04 19:20:25
阅读次数:
49
root@pcl-01:/usr/share/defaults/kata-containers# qemu-system-aarch64 -vqemu-system-aarch64: error while loading shared libraries: librbd.so.1: cannot ...
分类:
系统相关 时间:
2020-11-04 17:41:12
阅读次数:
35