会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
234234234
油爵
你若愿意,我一定去
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
17
下一页
2020年7月21日
用BigInteger求欧拉函数
摘要: 本来想搬砖,无奈没砖可搬,DIY 吧,反正也花不了多长事件 BigInteger求欧拉函数: public static BigInteger bigIntegerEuler(BigInteger n) { BigInteger ret = new BigInteger(n.toString());
阅读全文
posted @ 2020-07-21 15:56 ukeepgoing
阅读(185)
评论(0)
推荐(0)
2020年7月20日
while(~scanf("%d", &n)) 和 while(scanf("%d", &n), n) 有啥不同
摘要: 额............我也不知道(先记下) printf("%d\n", (scanf("%d", &n), n)) printf("%d\n", (~scanf("%d", &n))); 打印结果都相同........ 测试题目连接:http://acm.hdu.edu.cn/showprob
阅读全文
posted @ 2020-07-20 22:53 ukeepgoing
阅读(278)
评论(0)
推荐(0)
2020年7月5日
寻找ABC的个数
摘要: 记录一下,上次校赛没有做出来。。。。。。。。。。。。。。。。 题目(大概好像意思)是:给出一个字符串,找出按顺序组合成的ABC这类字符串的个数。 比如: ABC,则ABC顺序组合只有1个,组合序列为123 BAC,则ABC顺序组合只有0个 ABBABAC,则ABC顺序组合只有4个,组合序列为127,
阅读全文
posted @ 2020-07-05 11:33 ukeepgoing
阅读(351)
评论(0)
推荐(0)
2020年7月4日
window U盘损坏修复
摘要: # D: 表示盘符CHKDSK D: /f 个人觉得CHKDSK的全称是check disk 吧 查看更多 CHKDSK /?
阅读全文
posted @ 2020-07-04 16:01 ukeepgoing
阅读(532)
评论(0)
推荐(0)
window上U盘变成快捷方式
摘要: 看到某位同学给的东西,记录一下 一,打开cmd:按Win+r键,输入cmd, 回车 二,进入U盘:直接输入盘名称+:例如: e: 回车 f: 回车 。。。 三,显示被隐藏的文件:输入 attrib -s -r -h /s /d 回车 四,再显示被隐藏的.exe文件: 输入 attrib -s -r
阅读全文
posted @ 2020-07-04 16:00 ukeepgoing
阅读(398)
评论(0)
推荐(0)
2020年7月3日
[蓝桥杯2016初赛]四平方和
摘要: 以下几种解法: 参考博客 https://blog.csdn.net/Tianweidadada/article/details/79748074 一、暴力: #include <iostream> #include <cmath> #include <algorithm> #define N 50
阅读全文
posted @ 2020-07-03 22:31 ukeepgoing
阅读(165)
评论(0)
推荐(0)
2020年5月29日
js sort 的用法
摘要: let arr = [2,4,5,7,91,3,5,7,4]; arr.sort() // 这样默认不会进行排序 实现排序需要自己定义规则: arr.sort((a, b) => {return a - b; }); // 升序,主要返回的是数字,不是Boolean值
阅读全文
posted @ 2020-05-29 09:19 ukeepgoing
阅读(180)
评论(0)
推荐(0)
2020年4月27日
[蓝桥杯2016决赛]七星填数
摘要: 题目链接:http://oj.ecustacm.cn/problem.php?id=1316 以0开始,为空点编号,然后进行全排列 #include <iostream> #include <cstring> #include <vector> #include <queue> #include <
阅读全文
posted @ 2020-04-27 11:02 ukeepgoing
阅读(255)
评论(0)
推荐(0)
[蓝桥杯2015决赛]穿越雷区
摘要: 题目链接:http://oj.ecustacm.cn/problem.php?id=1266 想法:宽搜,判断上一步走的位置上的字符与下一个要走的位置的字符是否相同。如果相同,则跳过,不同则可以往下走 #include <iostream> #include <cstring> #include <
阅读全文
posted @ 2020-04-27 10:05 ukeepgoing
阅读(287)
评论(0)
推荐(0)
2020年4月25日
[蓝桥杯]错误票据
摘要: 题目:http://oj.ecustacm.cn/problem.php?id=1423 这道题不难,就是输入要稍加费点力。 推荐博客:https://www.cnblogs.com/Simon-X/p/5302627.html (在输入时,利用了输入到文件末尾结束。因为题目没有要求多组测试用例)
阅读全文
posted @ 2020-04-25 22:47 ukeepgoing
阅读(130)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
17
下一页
公告
23423423423