自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 Kata | Codewars 之 Find the stray number

Title: You are given anodd-lengtharray of integers, in which all of them are the same, except for one single number. Complete the method which accepts such an array, and returns that single different number. The input array will always be valid!(odd...

2021-08-30 10:32:25 140

原创 Kata | Codewars 之 Sum of a sequence

题目: Your task is to make function, which returns the sum of a sequence of integers. The sequence is defined by 3 non-negative values:begin,end,step. Ifbeginvalue is greater than theend, function should returns0 Examples sequenceSum (2,2,2); /...

2021-08-27 17:28:16 124

原创 Kata | Codewars 之 Is this a triangle?

题目: Implement a method that accepts 3 integer values a, b, c. The method should return true if a triangle can be built with the sides of given length and false in any other case. (In this case, all triangles must have surface greater than 0 to be acce...

2021-08-27 14:00:28 134

原创 Kata | Codewars 之 Is a number prime?

电饭锅

2021-08-26 17:36:04 173

原创 C++ 获取网卡和OA账号密码 (wireshark)

#pac_ana.h #ifndef _PAC_ANA_H #define _PAC_ANA_H #ifdef _MSC_VER /* * we do not want the warnings about the old deprecated and unsecure CRT functions * since these examples can be compiled under *nix as well */ #define _CRT_SECURE_NO_WARNINGS #endi...

2021-08-26 15:47:34 327

原创 Kata | Codewars 之 Multiples of 3 or 5

题目: If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Finish the solution so that it returns the sum of all the multiples of 3 or 5belowthe number passed in. Additionally, ..

2021-08-26 15:20:07 207 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除