1 f...            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2023-06-01 14:47:44
                            
                                40阅读
                            
                                                                             
                 
                
                             
         
            
            
            
               zju1078   二~十六进制下,判断一个数是否是回文。如17,在十进制下,它不是回文,但在二进制下(100001),它是回文!  这里有两个问题,怎样把一个数转换为特定进制的数? 判断是否是回文?  设m为需要判断的数,i代表的是进制,转换后的数存进c[ ]数组中。   int   len=0;&n            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2024-01-30 20:30:48
                            
                                70阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            1、ES6中新增的定义函数的方式 () => {} (1)():代表是参数; (2)=>:必须要的符号,指向哪一个代码块; (3){}:函数体 const fn = () => {} // 代表把一个函数赋值给fn 2、函数体中只有一句代码,且代码的执行结果就是返回值,可以省略大括号 functio            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2020-01-27 19:42:00
                            
                                100阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            273. 整数转换英文表示方法一:递归由于非负整数 num 的最大值为 231−12^{31}-1231−1,因此最多有 10 位数。将整数转换成英文表示中,将数字按照 3 位一组划分,将每一             
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2023-05-15 16:48:09
                            
                                38阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            华为认证261是什么?华为认证261指的是华为企业网络领域的专业认证考试。该考试是针对网络工程师、系统工程师和网络设计师等网络领域专业人士设计的认证考试,考核内容涵盖了企业网络解决方案、网络架构设计、网络设备的配置与管理等方面的知识。
华为认证261的考试涉及的内容非常丰富和复杂,需要考生具备扎实的网络基础知识和丰富的实际工作经验。通过参加华为认证261考试,可以对自己在网络领域的专业技能做出全            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2024-03-11 10:45:06
                            
                                15阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            链接:LeetCode [Leetcode]2027. 转换字符串的最少操作次数 给你一个字符串 s ,由 n 个字符组成,每个字符不是 'X' 就是 'O' 。 一次 操作 定义为从 s 中选出 三个连续字符 并将选中的每个字符都转换为 'O' 。注意,如果字符已经是 'O' ,只需要保持 不变  ...            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2021-10-08 21:25:00
                            
                                214阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            给定一个二叉树和一个目标和,找到所有从根节点到叶子节点路径总和等于给定目标和的路径。说明: 叶子节点是指没有            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2021-06-14 22:44:27
                            
                                157阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            ARTICLES & TUTORIALSAdaptive Icons and more关于Android O的Adaptive Icons, 这里是官方的文档: Adaptive Icons.这篇文章介绍了如何用Android Studio制作这种icon.Gang of Four Patterns in Kotlin用Kotlin实现的各种设计模式:Decorator -> 用ex            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2021-06-02 16:06:14
                            
                                65阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            Given n nodes labeled from 0 to n-1 and a list of undirected edges...            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2020-05-07 10:21:00
                            
                                46阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            Given n nodes labeled from 0 to n-1 and a list of undirected edges...            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2020-05-07 10:21:00
                            
                                410阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            Given n nodes labeled from 0 to n-1 and a list of undirected edges (each edge is a pair of nodes), write a function to check whether these edges make up a valid tree. Example 1: Input: n = 5, and edg...            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2018-11-06 09:41:00
                            
                                63阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
                    261  262在愚蠢的无知中他们总是很快乐。  好东西在别人手里总是更好,这使我们能更好地享受它。第一天,快乐总是属于物主,而在此之后,就属于其他人了。当一样东西归别人所有时,我们总是加倍地喜欢它,因为既不必冒失去它的危险,又有新奇的快感。每样东西总是当被人从我们手中夺走时才显得更加美好;即使是别人的自开水对我            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2009-12-28 21:26:00
                            
                                365阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            A. Pashmak and Gardentime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPashmak has fallen in love with an attractive girl called Pa...            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2021-09-06 15:29:09
                            
                                293阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            A. Pashmak and Garden题意:给你两个正方形的顶点坐标,让你求出另两个顶点的坐标题解:分情况讨论即可代码: 1 var x1,x2,y1,y2:longint; 2 begin 3 readln(x1,y1,x2,y2); 4 if x1=x2 then writeln(x...        Read More            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2014-08-16 12:43:00
                            
                                26阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            CF261E Maxim and Calculator "洛谷评测传送门" 题目描述 Maxim has got a calculator. The calculator has two integer cells. Initially, the first cell contains number            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2019-10-16 14:59:00
                            
                                47阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            A. Pashmak and Gardentime limit per test1 secondmemor            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-03-14 09:56:37
                            
                                49阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            原题链接在这里:https://leetcode.com/problems/graph-valid-tree/ 题目: Given n nodes labeled from 0 to n - 1 and a list of undirected edges (each edge is a pair            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2016-03-03 11:27:00
                            
                                90阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            Error:cannot solve it. So stupid.Use dfs to solve it. Actually we can use BFS, which is simpler. But I think dfs is something we use mostly. In dfs, iterate all node, then cou            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2023-08-23 09:13:12
                            
                                69阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            new261.jsp<%@ page language="java" contentType="text/html; charset=UTF-8"    pageEncoding="UTF-8"%>            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-05-25 01:52:28
                            
                                25阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            code261.javapackage pack07;import java.io.IOException;import java.io.PrintWriter;import javax.servlet.RequestDispatcher;import javax.servlet.ServletException;import javax.servlet.            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-03-03 14:43:19
                            
                                18阅读