2023.2.19
(1)九进制转十进制
![](https://img-blog.csdnimg.cn/img_convert/518fa3c4419dc8f8c59d9e2ac38c46db.png)
(2)裁纸刀
![](https://img-blog.csdnimg.cn/img_convert/78ea7f686b63812c5bb725610bfe9a39.png)
![](https://img-blog.csdnimg.cn/img_convert/20b10a0ab090639c0ef09166521e8e11.png)
(这种题注意观察规律,一般不难)
2023.2.21
(1)求和
![](https://img-blog.csdnimg.cn/img_convert/e4c8222aa0231072cd108fe87ce52c77.png)
![](https://img-blog.csdnimg.cn/img_convert/b3af6b93f1ba5e20e024b7d85496d8f8.png)
(数学题观察,看能不能得出规律或公式)
2023.2.22
(1)排列字母
![](https://img-blog.csdnimg.cn/img_convert/197f7ef4ab78a48a9ec44beda53b772c.png)
![](https://img-blog.csdnimg.cn/img_convert/7e3e2340cb911de73cbe44a694b7d26f.png)
(字母排列问题可以借助Arrays的sort方法)
(2)修剪灌木
![](https://img-blog.csdnimg.cn/img_convert/b34dc01e0b2d1e990202d7cdd4b7d4a8.png)
![](https://img-blog.csdnimg.cn/img_convert/93021205b864ba280a7f30af67a16e62.png)
![](https://img-blog.csdnimg.cn/img_convert/8b6dc8efff32c4780f6a600524178d83.png)
(3)练习
![](https://img-blog.csdnimg.cn/img_convert/b831995211ea6b946f641d2ef87dcfb0.png)
答案是:“ABC”
(4)顺子日期
![](https://img-blog.csdnimg.cn/img_convert/b5172e9f38764dd3f6619871efbabdde.png)
![](https://img-blog.csdnimg.cn/img_convert/042a38e3757d0545b26235db6a8ac4a0.png)
(5)刷题统计
![](https://img-blog.csdnimg.cn/img_convert/a5247c5dd4cfb7163f564c338ffbdcb1.png)
![](https://img-blog.csdnimg.cn/img_convert/ad6781fdaece616d39683759bdf4922a.png)
(只能通过60%的测试用例)
(快速替换代码可以使用Ctrl + H快捷键,)
2023.2.23
(1)三角回文数
![](https://img-blog.csdnimg.cn/img_convert/24515d53289391a050eaa4d5d885d79f.png)
![](https://img-blog.csdnimg.cn/img_convert/b49bc872eeb63ac254a1b69c28b30780.png)
(巧用StringBuilder的reverse方法)
(2)考勤刷卡
![](https://img-blog.csdnimg.cn/img_convert/a81351628e0babee72a4069fed5bcba7.png)
![](https://img-blog.csdnimg.cn/img_convert/f2f692dfc2ab96a66856592932abdad7.png)
![](https://img-blog.csdnimg.cn/img_convert/cef5451ee5d7ddca66e25295df9699dc.png)
(巧用TreeSet和next输出)
(3)
![](https://img-blog.csdnimg.cn/img_convert/74515a1b937af037aff2a54945dfbf13.png)
(4)字符统计
![](https://img-blog.csdnimg.cn/img_convert/288bd9bc4dc47f42c68a4923bde1e06e.png)
![](https://img-blog.csdnimg.cn/img_convert/2eccbba50de44f81c97e0e8af96242d7.png)
(5)英文字母
![](https://img-blog.csdnimg.cn/img_convert/016e5ede83f5f6323ee2929d9c3635e7.png)
![](https://img-blog.csdnimg.cn/img_convert/755e28f1da4c9091be37d30d08986c91.png)
(6)单词分析
![](https://img-blog.csdnimg.cn/img_convert/b809b7e711978d10a3ed8cd6884962a6.png)
![](https://img-blog.csdnimg.cn/img_convert/1974b8cbf532d56c0c482276faa92892.png)
2023.2.26
(1)卡片
![](https://img-blog.csdnimg.cn/img_convert/50fdae0d31d0a580d56f0c1d05f08b06.png)
![](https://img-blog.csdnimg.cn/img_convert/3f8dace8ad4dc47f6d21dd306ee07f48.png)
(有时候思路没错,注意输出细节,字符串的第一位下标为0)
(2)空间
![](https://img-blog.csdnimg.cn/img_convert/27ff6f1b73052ff25fbac6848e69a26b.png)
![](https://img-blog.csdnimg.cn/img_convert/f67e902d1ba197d1e298498217e1a3d6.png)
(3)ASC
![](https://img-blog.csdnimg.cn/img_convert/cd149dbba4c704189c7a1a886716f0cd.png)
2023.2.27
(1)倍数
![](https://img-blog.csdnimg.cn/img_convert/10c8cdf39d27aa11a6664c8d23b55c0c.png)
(2)相乘
![](https://img-blog.csdnimg.cn/img_convert/a1f6f819d273940e7a05af9f90c7ab5a.png)
![](https://img-blog.csdnimg.cn/img_convert/1b7baa2f53f9cd3dad6644086ba569ef.png)
(3)成绩统计
![](https://img-blog.csdnimg.cn/img_convert/b3859779bfbe4c2c30482d92053026c9.png)
![](https://img-blog.csdnimg.cn/img_convert/9133c2de87ea24defa71d5cf27465fc7.png)
(学习四舍五入的方法)
(4)排序
![](https://img-blog.csdnimg.cn/img_convert/9dc0d083d1c8e7f52cf20f54b0ec89db.png)
![](https://img-blog.csdnimg.cn/img_convert/b88f053d5525a5f620c992a71d770815.png)
(学习推理思路+冒泡排序次数:n*(n-1)/2 )
(5)跑步锻炼
![](https://img-blog.csdnimg.cn/img_convert/99c1d4e37f9978ceba01220f580079e1.png)
![](https://img-blog.csdnimg.cn/img_convert/0541e6e4939771a86ab099c62e070d26.png)
![](https://img-blog.csdnimg.cn/img_convert/435b02a4e88e676770a91cd62c676b64.png)
2023.2.28
(1)门牌制作
![](https://img-blog.csdnimg.cn/img_convert/d9908d113309fcacb642493732bf8728.png)
![](https://img-blog.csdnimg.cn/img_convert/65f8c7500945622163ada366db1f4ee1.png)
(2)约数个数
![](https://img-blog.csdnimg.cn/img_convert/f5b79e318c35619babe9880282f85f61.png)
(3)纸张尺寸
![](https://img-blog.csdnimg.cn/img_convert/f716717630f280df75ebceacc044834a.png)
![](https://img-blog.csdnimg.cn/img_convert/e5504489bd31466722da0e708336d340.png)
(4)数字9
![](https://img-blog.csdnimg.cn/img_convert/da3c1b1e9b4f58c73a9db4a6dd0172a6.png)
![](https://img-blog.csdnimg.cn/img_convert/73af1552d06a5d1016dd97b1488bc497.png)
(5)最大距离
![](https://img-blog.csdnimg.cn/img_convert/f2a9b4be8345347ba941b65dc6e4038b.png)
![](https://img-blog.csdnimg.cn/img_convert/cbe29362e3d85ab1df5e8dda1731c814.png)
(绝对值函数的用法Math.abs() )
(6)反倍数
![](https://img-blog.csdnimg.cn/img_convert/6b1474299b8da2adb7d4e9adc9c36c66.png)
![](https://img-blog.csdnimg.cn/img_convert/e9ea1d17829c9496df7804e755941df6.png)
(7)单词重排
![](https://img-blog.csdnimg.cn/img_convert/e6ee59f403c067e9621bd117dd4a2b83.png)
![](https://img-blog.csdnimg.cn/img_convert/00539243efd2d58a2530f4cc3354f50a.png)
2023.3.1
(1)互质
![](https://img-blog.csdnimg.cn/img_convert/3b1a53eb76babd696cb9d83809b6436c.png)
![](https://img-blog.csdnimg.cn/img_convert/34d12f9e342a63160f607594f00f254a.png)
(背下gcb函数的模板)
(2)最短路
![](https://img-blog.csdnimg.cn/img_convert/48f0658c6987f8c1fc6f0cd47ee95819.png)
![](https://img-blog.csdnimg.cn/img_convert/91da369258f4bd3db42d72a5effe0ceb.png)
(有时候用眼可以直接看出来,先思考)
(3)质数
![](https://img-blog.csdnimg.cn/img_convert/3a598f5a2f61681d9e31c10028112673.png)
![](https://img-blog.csdnimg.cn/img_convert/f3498599eee8fcf668b4f7d9b34cd152.png)
(4)平方和
![](https://img-blog.csdnimg.cn/img_convert/7f67e1637cf312092cb6581e9924f64b.png)
![](https://img-blog.csdnimg.cn/img_convert/ec1a062ca49b145cda29bd1c2c1d5107.png)
(5)矩形切割
![](https://img-blog.csdnimg.cn/img_convert/f47925cc11a405f47c30097809ac6651.png)
![](https://img-blog.csdnimg.cn/img_convert/70e075f1711f777f368872413d21f9d7.png)
(6)平方序列
![](https://img-blog.csdnimg.cn/img_convert/319aa49c02be83296e63d604d914acdc.png)
![](https://img-blog.csdnimg.cn/img_convert/49a6e8b88e5c54407f6d6bb6d1ec9931.png)
(7)合数个数
![](https://img-blog.csdnimg.cn/img_convert/7a455ccc1370499ab90a3d8d6c36ab44.png)
![](https://img-blog.csdnimg.cn/img_convert/f070bfaba7d61aa37d151de42fdf886d.png)
(8)既约分数
![](https://img-blog.csdnimg.cn/img_convert/f5707ef4237d1f28995fb4961fcfe2f6.png)
![](https://img-blog.csdnimg.cn/img_convert/19da9a0eb3fd92e6a63194656f0f8491.png)
(8)数列求值
![](https://img-blog.csdnimg.cn/img_convert/7d54a03c9018ca987384e1e564b8683d.png)
![](https://img-blog.csdnimg.cn/img_convert/a5e2a7a5f1d90fdae1ea07c6c1b95ff8.png)
(学习数字太大无法递归,且只保留最后几位的效果)
(9)奇数倍数
![](https://img-blog.csdnimg.cn/img_convert/ab527195a474f1e82d3287db09cc0f00.png)
![](https://img-blog.csdnimg.cn/img_convert/695bd4ce9d9cf796a7aa31a7f7a20584.png)
(flag的位置很重要,字符变数字是 - '0')
(10)求和
![](https://img-blog.csdnimg.cn/img_convert/b20ab297f0b84ecf77d5f78bf0a67cae.png)
![](https://img-blog.csdnimg.cn/img_convert/3b17d2b502f0a4efdaf3ec2b4bc41f95.png)