开发一个简单错误记录功能小模块,能够记录出错的代码所在的文件名称和行号。处理:1.记录最多8条错误记录,对相同 […]
老师想知道从某某同学当中,分数最高的是多少,现在请你编程模拟老师的询问。当然,老师有时候需要更新某位同学的成绩 […]
对于给定的十六进制数,输出其对应的十进制表示。在本题中,十六进制数的格式为:0x开头,后跟若干个十六进制数字( […]
2.明明的随机数 对于明明生成的 n个 1到 500之间的随机整数,你需要帮助他 […]
1.汽水瓶 某商店规定:三个空汽水瓶可以换一瓶汽水,允许向老板借空汽水瓶(但是必须要归还)。小张手上有&nbs […]
You are given an integer array nums. The abso […]
题目的详细描述参加这里:https://xianpengcui.com/2020/05/04/leetcode […]
You are given k identical eggs and you have access to a […]
leetcode中有两个零钱兑换问题,在此汇总在一块统一分析。首先看第一个题目: leetcode 322 解 […]
题目描述: Example 1: Input: s = "babad" Output: "bab" Expla […]
You are given an integer array nums with no duplicates. […]
Given an array of integers and an integer k, you n […]
You are given an integer array nums and you h […]
Merge k sorted linked lists and return it as […]
Given a string, your task is to count how many palindro […]