摘要: 在欧阳燊老师的帮助下解决了该问题 IDEA版本:IntelliJ IDEA 2022.3.2 (Ultimate Edition) Servlet Spec:3.1 点下图中的“Edit Configurations”进入运行配置(Run/Debug Configurations)设置页。 在Tom 阅读全文
posted @ 2023-03-11 10:51 infocodez 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 本人对Android Studio的了解非常初级,这篇blog主要是自用备忘性质。 因为众所周知的原因,国外仓库访问很不方便,影响项目构建。所以需要添加国内仓库,而阿里云仓库属于比较知名的。 阿里云仓库服务 自Android Studio Bumblebee(2021.1.1) 开始,仓库地址的存放 阅读全文
posted @ 2023-03-06 18:53 infocodez 阅读(1013) 评论(0) 推荐(0) 编辑
摘要: 因为VMware_16.2.3版本映射硬盘后无法向其中复制文件,所以这里用的vmware16.1.2。VMware_16.2.3映射硬盘后(非只读模式),不能向其复制文件 - infocodez - 博客园 (cnblogs.com) 1.首先准备好dos镜像和MASM文件夹 2.创建虚拟机 虚拟机 阅读全文
posted @ 2022-09-14 14:37 infocodez 阅读(1045) 评论(0) 推荐(0) 编辑
摘要: 只读模式映射可以正常访问,但是非只读模式无法向其中复制文件,会出现下面的警告,而且映射出的硬盘也在资源文件管理器中变成问号。 新版WIN10,VMware映射虚拟磁盘提示Z:\不可用。如果该位置位于...的解决方法! - 简书 (jianshu.com) 开始——运行,输入:gpedit.msc回车 阅读全文
posted @ 2022-09-02 17:32 infocodez 阅读(3734) 评论(2) 推荐(0) 编辑
摘要: 数学建模 - 中国大学生在线 (moe.gov.cn) 全国大学生数学建模竞赛 (mcm.edu.cn) 全国大学生数学建模竞赛 (cnki.net) LaTex语法介绍 - 简书 (jianshu.com) Latex基础语法 - 知乎 (zhihu.com) 2021高教社杯全国大学生数学建模竞 阅读全文
posted @ 2022-09-01 08:08 infocodez 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 课设做的推箱子,经典老游戏,网上代码也非常多。 老师检查的时候让我解决闪屏问题,虽然知道需要使用双缓冲技术解决,但网上没有找到能直接帮助解决闪屏的博客文章之类的。 最后通过阅读微软API文档并结合搜索,终于解决。 完成的过程中参照了不少他人文章或者其他资料,但因为时间有点久,而当时又没注意保存参考链 阅读全文
posted @ 2022-02-08 18:48 infocodez 阅读(448) 评论(0) 推荐(0) 编辑
摘要: T221581 T-1 大富翁 - 洛谷 | 计算机科学教育新生态 (luogu.com.cn) cin、cout,全局变量对运行时间的影响 cin、cout,全局变量;32ms scanf、printf,全局变量:31ms scanf、printf,局部变量:30ms 32ms代码: #inclu 阅读全文
posted @ 2022-01-24 11:01 infocodez 阅读(139) 评论(0) 推荐(0) 编辑
摘要: puts(""); 输出换行符 C 库函数 – puts() | 菜鸟教程 (runoob.com) 131. 直方图中最大的矩形 - AcWing题库 视频题解131. 直方图中最大的矩形(每日一题·春季) - AcWing 求每个数左边最近的比它小的数、单调栈 阅读全文
posted @ 2022-01-23 16:27 infocodez 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 由数据范围反推算法复杂度以及算法内容 - AcWing 一般ACM或者笔试题的时间限制是1秒或2秒。在这种情况下,C++代码中的操作次数控制在 107∼108 为最佳。 下面给出在不同数据范围下,代码的时间复杂度和算法该如何选择: n≤30, 指数级别, dfs+剪枝,状态压缩dp n≤100 => 阅读全文
posted @ 2022-01-23 15:02 infocodez 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 刘汝佳《算法竞赛入门经典(第2版)》P41 题面: 用1,2,3,…,9组成3个三位数abc, def和ghi,每个数字恰好使用一次,要求abc:def:ghi = 1:2:3。按照”abc def ghi”的格式输出所有解,每行一个解。提示:不必太动脑筋。 代码:习题2-6排列_threealon 阅读全文
posted @ 2022-01-22 21:37 infocodez 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 小学题目,但在2021新生赛没能一次性ac,因为第一次没考虑到鸡兔必须为整数。因此这里放一下。 题目很经典,不复述。 输入头n,脚m,求鸡a兔b 解法: a+b=n 2*a+4*b=m a、b必须为非负整数。 代码: #include<stdio.h> int main(){ int a,b,n,m 阅读全文
posted @ 2022-01-19 11:50 infocodez 阅读(22) 评论(0) 推荐(0) 编辑
摘要: https://ac.nowcoder.com/acm/contest/22754 打印账号信息是好习惯,继续保持。下次要记得键盘、水。 阅读全文
posted @ 2021-11-02 21:19 infocodez 阅读(92) 评论(0) 推荐(0) 编辑
摘要: Dashboard - 2021 Xinjiang Provincial Collegiate Programming Contest - Codeforces 【题解】2021 ICPC新疆省赛_ACM竞赛_ACM/CSP/ICPC/CCPC/比赛经验/题解/资讯_牛客竞赛OJ_牛客网 (nowc 阅读全文
posted @ 2021-10-12 06:10 infocodez 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 843. n-皇后问题 - AcWing题库 #include<bits/stdc++.h> #define rep(i,a,b) for(int i=a;i<b;i++) using namespace std; const int N=10; int n; char q[N][N]; bool 阅读全文
posted @ 2021-10-06 08:45 infocodez 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 842. 排列数字 - AcWing题库 #include<bits/stdc++.h> #define rep(i,a,b) for(int i=a;i<b;i++) using namespace std; const int N=10; int n; int quene[N]; bool fl 阅读全文
posted @ 2021-10-06 08:05 infocodez 阅读(19) 评论(0) 推荐(0) 编辑
摘要: robots协议_百度百科 (baidu.com) 如何查看robots协议?怎么写?-阿里云开发者社区 (aliyun.com) 玩转robots协议 - 卢松松博客 (lusongsong.com) Robots协议(爬虫协议、机器人协议) - stardsd - 博客园 (cnblogs.co 阅读全文
posted @ 2021-08-25 08:55 infocodez 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 803. 区间合并 - AcWing题库 #include <iostream> #include <vector> #include <algorithm> using namespace std; typedef pair<int, int> PII; void merge(vector<PII 阅读全文
posted @ 2021-07-30 21:38 infocodez 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 802. 区间和 - AcWing题库 C++ pair的基本用法总结(整理)_sevenjoin的博客-CSDN博客_c++ pair for(auto i : v)遍历容器元素 - ostartech - 博客园 (cnblogs.com) #include <iostream> #includ 阅读全文
posted @ 2021-07-30 16:59 infocodez 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 799. 最长连续不重复子序列 - AcWing题库 #include<bits/stdc++.h> #define rep(i,a,b) for(int i=a;i<=b;i++) using namespace std; const int N=1e5+10; int a[N],cnt[N]; 阅读全文
posted @ 2021-07-29 21:35 infocodez 阅读(34) 评论(0) 推荐(0) 编辑
摘要: yxc对于负数补码的解释:AcWing 801. 二进制中1的个数 - AcWing(视频末尾部分) 思路:x+(-x)=0,设x≥0,则 -x=0-x,等式右边的二进制形式(以8位举例)为00000000 - x,实际上全0不够减需要向上借一位,即100000000 - x。 而100000000 阅读全文
posted @ 2021-07-22 20:39 infocodez 阅读(319) 评论(0) 推荐(0) 编辑