码迷,mamicode.com
首页 >  
搜索关键字:numbers range    ( 16974个结果
学习JAVA的第三天
包机制 为了更好地组织类,Java提供了包机制,用于区别类别的命名空间 包语句的语法格式为:Package pkg1[.pkg2[.pkg3]]; 一般利用公司域名倒置作为包名 为了能够使用某一个包的成员,我们需要在java程序中明确导入该包,使用"import"语句可完成此功能 import pa ...
分类:编程语言   时间:2021-02-19 13:21:28    阅读次数:0
The 2020 ICPC Asia Taipei-Hsinchu Site Programming Contest 部分题解
Problem A Right-Coupled Numbers 留坑。 Problem B Make Numbers 留坑。 Problem C Pyramid 留坑。 Problem D Quality Monitoring 留坑。 Problem E A Color Game 留坑。 Probl ...
分类:其他好文   时间:2021-02-16 12:17:48    阅读次数:0
计算工资,算工资
直接上代码: url = "D://zhangdan.txt" arr = [] sum = 0 with open(url) as f: for i in f: arr.append(float(i)) for i in range(len(arr)): print(f'{i+1}号 : {arr ...
分类:其他好文   时间:2021-02-15 12:44:13    阅读次数:0
1069 The Black Hole of Numbers (20 分)
注意不满$4$位的话要补成$4$位。 string s; set<int> S; int main() { cin>>s; while(s.size()<4) s='0'+s; while(true) { sort(s.begin(),s.end(),greater<char>()); string ...
分类:其他好文   时间:2021-02-15 12:21:49    阅读次数:0
LeetCode - Next Permutation
Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such an arrangement is not pos ...
分类:其他好文   时间:2021-02-15 12:21:35    阅读次数:0
CSS元素层级的概念及性质
元素的层级的介绍 什么是元素的层级 通过z-index可以改变开启定位元素的层级 父元素的层级再高也不会遮盖住子元素 元素的层级的介绍 什么是元素的层级 当元素开启定位后就会是元素提升一个层级,网页是由多个层级组成的 <style> *{ font-size: 50px; font-weight: ...
分类:Web程序   时间:2021-02-15 12:06:14    阅读次数:0
java基本结构
java基本结构 顺序结构 一句一句往下执行,顺序结构是最简单的语法结构。 1 ? 2 public class Hello{ 3 public static void main(String []args) 4 { 5 System.out.println("Hello1"); 6 System. ...
分类:编程语言   时间:2021-02-15 11:49:33    阅读次数:0
python 输出99乘法表
i = 1while i <= 9: i += 1 j = 1 while j <= i-1: print("{}*{}=".format(j,i-1),j*(i-1),sep='',end=' ') j += 1 print('') for i in range(1,10): for y in r ...
分类:编程语言   时间:2021-02-10 13:39:52    阅读次数:0
Go语言基础之time包
Go语言基础之time包 时间和日期是我们编程中经常会用到的,本文主要介绍了Go语言内置的time包的基本用法。 time包 time包提供了时间的显示和测量用的函数。日历的计算采用的是公历。 时间类型 time.Time类型表示时间。我们可以通过time.Now()函数获取当前的时间对象,然后获取 ...
分类:编程语言   时间:2021-02-10 13:08:17    阅读次数:0
2020 BIT冬训-模拟与暴力 O - The Answer to the Ultimate Question of Life, The Universe, and Everything. 计蒜客 - 42545
Problem Description For decades, scientists have wondered whether each of the numbers from 0 to 100 could be represented as the sum of three cubes, wh ...
分类:其他好文   时间:2021-02-08 12:44:17    阅读次数:0
16974条   上一页 1 ... 17 18 19 20 21 ... 1698 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!