摘要: 下载工具 Android studio 参考博客https://blog.csdn.net/weixin_45406151/article/details/114531103 汉化完成 并创建了虚拟手机 安卓app项目目录结构 运行配置文件每个app都有,且同名,也叫清单文件 模块编译规则 mani 阅读全文
posted @ 2022-12-24 18:37 突破铁皮 阅读(29) 评论(0) 推荐(0)
摘要: https://codeforces.com/contest/1772/problem/E 题目大意就是给一个1~n的全排序列,所有数字都是红色的,两人轮流操作,操作有三种选择,第一是将所有蓝色的数字任意排列,第二是将其中一个红色数字变蓝,第三是什么都不操作,该游戏有三种情况1胜,2胜和平局,如果最 阅读全文
posted @ 2022-12-22 16:11 突破铁皮 阅读(58) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; const int N=1e3+10; typedef struct node{ int w; struct node*l; struct node*r; }node; string s[N*N]; int 阅读全文
posted @ 2022-11-25 14:48 突破铁皮 阅读(41) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; const int N=1e3+10; char s[N]; bool flag=0; char p[N]; int ptt=0; int num[N],ntt=0; char Op[N]; int optt 阅读全文
posted @ 2022-11-25 14:44 突破铁皮 阅读(31) 评论(0) 推荐(0)
摘要: 首先需要导包 import java.sql.* 数据库的操作 在写JDBC时需要抛出相应的异常或在用try方法抓住异常 加载驱动 Class.forName("com.mysql.jdbc.Driver"); //5.0争取旧版本 Class.forName("com.mysql.cj.jdbc. 阅读全文
posted @ 2022-11-17 19:45 突破铁皮 阅读(27) 评论(0) 推荐(0)
摘要: 题目链接:Problem - B - Codeforces 输入 71727741010501100639999652345618789987887987998798 输出 1210121015106 题目大意就是给出T个用例给出一个长度为n,只包含'0'~'9'的字符串,在它所有的子串中,输出所有 阅读全文
posted @ 2022-11-17 16:09 突破铁皮 阅读(52) 评论(0) 推荐(0)
摘要: 产生随机数的类和方法 Random random=new Random(); //Random(long seed):使用单个 long 类型的参数创建一个新的随机数生成器。 random.nextBoolean(); random.nextDouble(); //返回0~1.0之间的浮点数 ran 阅读全文
posted @ 2022-11-16 12:35 突破铁皮 阅读(777) 评论(0) 推荐(0)
摘要: Cmd控制台 mysql -uroot -p -- 连接数据库 flush privileges; -- 刷新权限 show databates; -- 查看所有的数据库 use 数据库名; -- 切换数据库 show tables; -- 查看数据库中所有的表 describe; 表名 -- 查看 阅读全文
posted @ 2022-11-15 23:04 突破铁皮 阅读(51) 评论(0) 推荐(0)
摘要: 考试题目要求实现一个校园社团管理系统 整体框架 sql操作工具类 package tool; import java.sql.*; public class Mysqltool { private static Connection con; private static PreparedState 阅读全文
posted @ 2022-11-03 17:52 突破铁皮 阅读(53) 评论(0) 推荐(0)
摘要: A. Bestie time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given an array aa consi 阅读全文
posted @ 2022-10-31 08:45 突破铁皮 阅读(69) 评论(0) 推荐(0)