码迷,mamicode.com
首页 >  
搜索关键字:hdu 2612 find a way    ( 56705个结果
linux查找删除大文件
查找 find . -type f -size +10M -print0 | xargs -0 du -h | sort -nr 删除,指定名字的所有文件 find ./xx -name "xx" -type f -print -exec rm -rf {} \; 计数 ls -l|grep "^- ...
分类:系统相关   时间:2021-04-07 11:19:58    阅读次数:0
#SG函数#HDU 1848 Fibonacci again and again
题目 分析 可取状态只能是斐波那契数,求出SG函数 然后判断三个数sg函数异或和不为0先手必胜 代码 #include <cstdio> #include <cctype> #define rr register using namespace std; const int p[15]={1,2,3 ...
分类:其他好文   时间:2021-04-07 10:55:22    阅读次数:0
P1220 关路灯
原题链接 考察:区间dp 这题好像HDU 4283 可以往左或者往右走.但是这道题起始位置不确定,也就是说,i位置不一定是栈底. 非常详细的题解 思路: 因为题目完全不一样,所以必须换一个思路.以f[i][j]表示灭掉[i,j]所有灯消耗的功率.首先明确老张灭灯只要路过了就会灭,因此最后的位置要么是 ...
分类:其他好文   时间:2021-04-07 10:35:12    阅读次数:0
第2章(part_02)
补充命令: tracepath 网址 -- 路由跟踪 netstat –an -a 所有开放端口号查询 -n ip地址查看 netstat –an | grep 80 查看80端口号是否开启 tree 查看目录的结构关系 find 查找文件位置 可用--type b/d/c/p/l/f 参数指定文件 ...
分类:其他好文   时间:2021-04-06 15:02:57    阅读次数:0
Mybatis报错Cannot find class: com.mysql.cj.jdbc.Driver排查踩坑记录
初次学习mybatis,跑一个最简单的demo,然而报错: java.sql.SQLException: Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException: Cannot find ...
分类:数据库   时间:2021-04-06 14:48:09    阅读次数:0
LeetCode第235场周赛题解
LeetCode第235场周赛题解 截断句子 按照题目要求模拟即可,把单词读入到vector中,然后按要求拼接即可 class Solution { public: string truncateSentence(string s, int k) { vector<string> a; string ...
分类:其他好文   时间:2021-04-06 14:34:00    阅读次数:0
HDU - 6005 Pandaland (无向图最小环,动态加边Dijkstra)
题目链接 题意:求无向图最小环(n<=8000,m<=4000) 动态把边加进去跑Dij,在加入一条边(u,v,c)之前,先求出mindis(u,v),更新答案ans=min(ans,mindis(u,v)+c),复杂度$O(m^2logn)$ 1 #include<bits/stdc++.h> 2 ...
分类:其他好文   时间:2021-04-06 14:28:01    阅读次数:0
Shortcut Keys Configure of Typora
Shortcut Keys Configure Summary You can use shortcut keys to quickly insert or modify styles or do other operations supported by Typora. You can find ...
分类:其他好文   时间:2021-04-06 14:21:02    阅读次数:0
B. The least round way
原题链接https://codeforces.com/problemset/problem/2/B 这题要特判矩阵里有0的情况,我就没特判,一直TLE(自己傻逼) 题意:给你一个矩阵,里面都是非负数,现在让你从$(1, 1)\(走到\)(n, n)$, 并且把路径上的所有数乘起来,问你能得到的数末尾 ...
分类:其他好文   时间:2021-04-05 12:16:09    阅读次数:0
PAT (Advanced Level) Practice 1027 Colors in Mars (20 分) 凌宸1642
PAT (Advanced Level) Practice 1027 Colors in Mars (20 分) 凌宸1642 题目描述: People in Mars represent the colors in their computers in a similar way as the E ...
分类:其他好文   时间:2021-04-05 12:15:31    阅读次数:0
56705条   上一页 1 ... 10 11 12 13 14 ... 5671 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!