码迷,mamicode.com
首页 >  
搜索关键字:you    ( 26666个结果
4.if语句
4.1 一个简单示例 cars = ['audi','bmw','subaru','toyota'] for car in cars: if car == 'bmw': print(car.upper()) else: print(car.title()) #结果如下: #Audi #BMW #Su ...
分类:其他好文   时间:2021-03-11 10:31:26    阅读次数:0
1065 A+B and C (64bit) (20 分)
题目描述 1065 A+B and C (64bit) (20 分) Given three integers A, B and C in [?], you are supposed to tell whether A+B>C. Input Specification: The first line ...
分类:其他好文   时间:2021-03-10 13:11:02    阅读次数:0
Rust嵌入式初探(三):外部中断
####实验器材及参考资料 同本系列的第一篇文章 ####实验内容 在stm32上用rust编写简单的中断程序,实验电路如下: 本实验实现在按下按键KEY0时,灯LED0就会改变状态,比如LED0是亮着的,一旦按键按下就会立马灭掉. ####源码分析 我直接在下面列出源代码,源代码有些长,大部分是花 ...
分类:其他好文   时间:2021-03-09 13:35:03    阅读次数:0
[CSS] Choose between Grid layout and flexbox
1. Grid: by default showing content in Y axis (column), Flex: by default showing content in X axis. Exp: If you want to style a header.. you can use f ...
分类:Web程序   时间:2021-03-09 13:32:34    阅读次数:0
1332. Remove Palindromic Subsequences (E)
Remove Palindromic Subsequences (E) 题目 Given a string s consisting only of letters 'a' and 'b'. In a single step you can remove one palindromic subseq ...
分类:其他好文   时间:2021-03-09 13:26:40    阅读次数:0
值得学习的C++项目开源(转)
值得学习的C语言开源项目 1. Webbench Webbench是一个在linux下使用的非常简单的网站压测工具。它使用fork()模拟多个客户端同时访问我们设定的URL,测试网站在压力下工作的性能,最多可以模拟3万个并发连接去测试网站的负载能力。Webbench使用C语言编写, 代码实在太简洁, ...
分类:编程语言   时间:2021-03-09 13:22:44    阅读次数:0
LG2147 [SDOI2008]洞穴勘测
LG2147 [SDOI2008]洞穴勘测 这个题第一眼是线段树分治吧。 但是这个题和大部分板子不同的是,这里询问不是全图连通性了,是两点的连通性。其实思路没什么大区别,还是要用可撤销并查集维护连通性,把边挂到线段树上相应的时间点上。 只是我们现在的询问不同了,我们可以模仿把边挂在线段树上的方式,把 ...
分类:其他好文   时间:2021-03-08 13:37:41    阅读次数:0
Core Python | 2 - Core Python: Getting Started | 2.4 - Introducing Strings, Collections, and Iteration | 2.4.4 - Bytes
Bytes are very similar to strings, except that rather than being sequences of Unicode code points, they are sequences of, well, bytes. As such, they a ...
分类:编程语言   时间:2021-03-06 14:52:54    阅读次数:0
1038 Recover the Smallest Number (30 分)
Given a collection of number segments, you are supposed to recover the smallest number from them. For example, given { 32, 321, 3214, 0229, 87 }, we c ...
分类:其他好文   时间:2021-03-06 14:47:20    阅读次数:0
1037 Magic Coupon (25 分)
The magic shop in Mars is offering some magic coupons. Each coupon has an integer N printed on it, meaning that when you use this coupon with a produc ...
分类:其他好文   时间:2021-03-06 14:44:48    阅读次数:0
26666条   上一页 1 ... 13 14 15 16 17 ... 2667 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!