这次比赛远比上次 AIsing Programming Contest 2020 题解 简单,大家都6题全a了。。 我放一下代码,应该看一下就懂了。我的代码有很长的模板,不要介意。。。 代码下载 ...
分类:
其他好文 时间:
2020-07-26 01:43:27
阅读次数:
86
1.关于from module import *的说明 在Python的教材和示例代码中,经常会看到 from xxx import * 的用法,但在实际产品的代码中,应该要避开这样的用法。Python模块中包含任何数量的类、函数、或者变量,但使用from xxx import * 用法调用模块时, ...
分类:
编程语言 时间:
2020-07-26 00:39:30
阅读次数:
76
Comments 注释简介 Let's take a quick break from programming and talk about comments. Comments help programmers understand what exactly the computer progra ...
分类:
其他好文 时间:
2020-07-24 09:19:32
阅读次数:
81
C语言简介 C is a programming language that lets us give a computer very specifio commands. C语言是一种编程语言,它让我们可以给计算机非常特殊的命令。 C was invented in 1972. It's one ...
分类:
其他好文 时间:
2020-07-23 09:17:28
阅读次数:
69
where is C used ? C 语言的应用场景 C is widely used C语言被广泛应用于: For creating desktop applications 用于创建桌面应用程序 For developing games 游戏开发 For designing Operating ...
分类:
编程语言 时间:
2020-07-23 09:12:31
阅读次数:
75
Assigning a balloon color to each problem is one of the tasks we need to do every year, and sometimes itis tricky. We noticed that some contestants as ...
分类:
其他好文 时间:
2020-07-22 20:29:29
阅读次数:
62
人生苦短,我用 Python —— Life is short, you need Python 1. Python 的起源 1989 年的圣诞节期间,吉多·范罗苏姆为了在阿姆斯特丹打发时间,决心开发一个新的解释程序,作为 ABC 语言的一种继承。 ABC 是由吉多参加设计的一种教学语言,就吉多本人 ...
分类:
编程语言 时间:
2020-07-22 16:16:54
阅读次数:
71
Windows 开发人员中心 https://docs.microsoft.com/zh-cn/windows/ DirectX 英文文档 https://docs.microsoft.com/en-us/windows/win32/direct3d12/directx-12-programming ...
分类:
其他好文 时间:
2020-07-22 16:10:23
阅读次数:
219
题目 题目意思很贪心,但有些放左边好,有些放右边好,一起做不好弄 可以分开做:一定存在一种最优方案,使得所有放在左边更优的都在左侧(存在一个分界点) 然后把两个种类分开贪心,以左边的为例: 用一个set存储还没放的位置 将所有camels按照Ri-Li排序,从大的开始处理,如果能放,就放在能放的最靠 ...
分类:
其他好文 时间:
2020-07-22 15:35:25
阅读次数:
66
https://github.com/fuzhengwei/CodeGuide https://github.com/xiaolai/regular-investing-in-box 学习路线。 https://bugstack.cn/itstack-code-life/2020/03/31/%E5 ...
分类:
其他好文 时间:
2020-07-21 14:23:03
阅读次数:
83