摘要: 这道题目给的输入数据 18条,如果没看懂题目意思,去把input数据关系图画出来再分析output,是非常麻烦的(我试过画出18组关系图,非常混乱),然后参考的别的大佬的代码。 其实这道题目的题目意思,在开头引言已经说明白了,题目意思大致如下: 如果一个人A,喜欢一个人D,A害羞不好意思直接和D说话 阅读全文
posted @ 2020-03-29 19:19 my日常work 阅读(584) 评论(0) 推荐(0)
摘要: 免费chatgpt使用网址 http://ffff.chat:2023 在设置中设置userID 在网上看到各种将字符串转成int,和int转成字符串的方法。我自己比较喜欢用的方法是下面的,记住模板就行,最开始我也老是记不住,找到规律,多用几遍就好了。 1.将字符串转成int char s[20] 阅读全文
posted @ 2020-03-26 18:33 my日常work 阅读(8244) 评论(0) 推荐(0)
摘要: 免费chatgpt使用网址 http://ffff.chat:2023 在设置中设置userID 1. 首先呢,我这里给出存储过程的定义,到底什么是存储过程。 存储过程是指,在大型数据库系统中,为了提高数据库操作的效率和SQL代码的封装,完成特定功能的SQL语句集, 存储在数据库中,经过第一次编译后 阅读全文
posted @ 2020-03-09 11:04 my日常work 阅读(6027) 评论(0) 推荐(0)
摘要: 免费chatgpt使用网址 http://ffff.chat:2023 在设置中设置userID Formation is very important when taking a group photo. Given the rules of forming K rows with N peopl 阅读全文
posted @ 2020-03-06 15:11 my日常work 阅读(310) 评论(0) 推荐(0)
摘要: Given a tree, you are supposed to tell if it is a complete binary tree. Input Specification: Each input file contains one test case. For each case, th 阅读全文
posted @ 2020-03-05 20:21 my日常work 阅读(378) 评论(0) 推荐(0)
摘要: Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For example, given L being 1→2→3→4→5→6, 阅读全文
posted @ 2020-03-05 12:55 my日常work 阅读(230) 评论(0) 推荐(0)
摘要: Some scientists took pictures of thousands of birds in a forest. Assume that all the birds appear in the same picture belong to the same tree. You are 阅读全文
posted @ 2020-03-04 13:43 my日常work 阅读(312) 评论(0) 推荐(0)
摘要: 免费chatgpt使用网址 http://ffff.chat:2023 在设置中设置userID 这篇博客是对Java Map对value值实现排序 首先说一下如果Map对key进行从小到大默认排序是创建TreeMap对象。Map<Integer,Integer> maps = new TreeMa 阅读全文
posted @ 2020-02-29 11:03 my日常work 阅读(11725) 评论(0) 推荐(1)
摘要: 免费chatgpt使用网址 http://ffff.chat:2023 在设置中设置userID 个人感觉这篇文章(原文地址见文章尾)写的排列组合问题,非常的好,而且是一步一步引出排列组合问题,我也是看了这篇文章,一步一步按照这个思路来,最后会了自己的一套排列组合 也因此在算法竞赛中,两次用到了,成 阅读全文
posted @ 2019-05-29 23:27 my日常work 阅读(53830) 评论(6) 推荐(6)
摘要: import java.util.Arrays;import java.util.Scanner;public class Test07 { public static void main(String[] args) { Scanner scn = new Scanner(System.in); 阅读全文
posted @ 2019-02-09 15:08 my日常work 阅读(3935) 评论(0) 推荐(0)