ICode9

精准搜索请尝试: 精确搜索
  • Python活力练习Day112019-12-27 17:55:45

    Day11:输入一行字符,分别统计出其中的英文字母,空格,数字以及其他字符的个数 # 还有一个直接可以判断字符或者数字的方法:s.isalnum() 1 def fun(): 2 ''' 3 s:输入的字符串 4 alp:字母长度 5 num:数字长度 6 spa:空白字符长度(包括'\n','\t') 7 othe

  • python 笔记52019-12-13 18:02:16

    1、集合:    并集:     union(*others)         返回和多个集合合并后的新的集合    ’ | ‘运算符重载:等同于union    update(*others)         和多个集合合并,就地修改    ’ |=  ‘等同update 例:a={1,2,3}   b={2,3,4}   c=a.union(b)  #或者

  • TZOJ 3965 Six Degrees of Separation 最基本最短路 dijstra算法2019-11-16 13:57:15

    Have you ever heard of the word "six degrees of separation"? It is said that two individuals are connected by at most five others. Lee is wondering about this and he wants to check it via the world's biggest friendship web called Koobecaf.

  • hdu 48572019-10-12 21:02:09

    逃生 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11055    Accepted Submission(s): 3074http://acm.hdu.edu.cn/showproblem.php?pid=4857 Problem Description 糟糕的事情发生啦,现在大家都忙着逃命。但

  • 『Others』文件路径中/和\的区别2019-09-20 09:44:00

    在日常的学习和使用中,我们见过两种形式的文件路径,一种以/分隔,一种以\分隔,二者有什么区别和联系呢? 首先,我们来看一个使用/分隔文件路径的例子,我们在Linux操作系统下,使用pwd查看绝对路径: 然后,我们再来看一个使用\分隔文件路径的例子,在Windows操作系统下,使用chdir查看绝对

  • 解题记录:8.42019-08-10 15:00:53

    母牛的故事 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 130632 Accepted Submission(s): 64001 Problem Description 有一头母牛,它每年年初生一头小母牛。每头小母牛从第四个年头开始,每年年初也生一头

  • MySQL Others--约束(Constraint)示例2019-08-08 23:04:08

    ENUM约束 --使用ENUM来限制用户输入CREATE TABLE Student( StudentID INT AUTO_INCREMENT PRIMARY KEY, ClassID INT, StudentName VARCHAR(200), Sex ENUM('Male','Female'))   默认值约束 --创建表时指定默认值CREATE TABLE Student( St

  • HDU 6374 度度熊拼三角2019-08-04 14:40:47

    度度熊拼三角 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 1764    Accepted Submission(s): 792   Problem Description 度度熊有 N 根木棒,每根木棒的长度为ai。 现在要挑选其中的三根,问能拼出的

  • linux权限笔记2019-07-25 21:00:23

    r:4 w:2 x:1 每种身份(owner/group/others)各自的三个权限(r/w/x)分数是需要累加的,例如当权限为: [-rwxrwx—] 分数则是: owner = rwx = 4+2+1 = 7 group = rwx = 4+2+1 = 7 others= — = 0+0+0 = 0 学习来源:https://www.runoob.com/linux/linux-file-attr-permission.html

  • hduoj 20192019-07-03 18:51:42

    数列有序! Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 130996    Accepted Submission(s): 53856   Problem Description 有n(n<=100)个整数,已经按照从小到大顺序排列好,现在另外给一个整

  • hdu 2503 a/b + c/d2019-07-01 20:53:03

    a/b + c/d Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 20666    Accepted Submission(s): 10550   Problem Description 给你2个分数,求他们的和,并要求和为最简形式。     Input 输入首先包含一个

  • 存储过程中的when others then 和 raise 代表什么?2019-06-27 16:44:11

     EXCEPTION when others then rollback; dbms_output.put_line('code:' || sqlcode); dbms_output.put_line('errm:' || sqlerrm); raise; when others then和raise; 分别是什么意思   异常分很多种类,如NO_FOUND。others处本应该写异常名称,如果不想把异常

  • 杭电1879继续畅通project2019-05-13 14:42:35

    继续畅通project Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 13381    Accepted Submission(s): 5775Problem Description 省政府“畅通project”的目标是使全省不论什么两个村庄间都能够实现公路交通(

  • HDOJ25442019-05-12 11:40:13

    最短路Time Limit: 5000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 101711    Accepted Submission(s): 43823 Problem Description 在每年的校赛里,所有进入决赛的同学都会获得一件很漂亮的t-shirt。但是每当我们的工作人员

  • LeetCode算法题-Largest Number At Least Twice of Others(Java实现)2019-04-17 08:47:39

    这是悦乐书的第308次更新,第328篇原创 01 看题和准备 今天介绍的是LeetCode算法题中Easy级别的第177题(顺位题号是747)。在给定的整数数组中,总有一个最大的元素。查找数组中的最大元素是否至少是数组中每个其他数字的两倍。如果是,则返回最大元素的索引,否则返回-1。例如: 输入:nums = [3

  • Hdu2015 偶数求和2019-04-07 22:52:40

    题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2015 偶数求和 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 125922    Accepted Submission(s): 52019 Problem Description 有一个长度为n(n<=100)的

  • 747. Largest Number At Least Twice of Others2019-04-03 11:49:49

    题目 In a given integer array nums, there is always exactly one largest element. Find whether the largest element in the array is at least twice as much as every other number in the array. If it is, return the index of the largest element, otherwise retur

  • 「 Enghlish」Dare to be Different.2019-03-27 12:49:50

    If you are different from others, it is hard to replace you, because others don't have special qualities as you do. However, if you don't stand out, the situation is wholly different. I will do what I like to do and what I am good at. What'

  • 杭电oj 10012019-02-26 21:47:30

    Sum Problem Time Limit: 1000/500 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 609664 Accepted Submission(s): 154237 Problem Description Hey, welcome to HDOJ(Hangzhou Dianzi University Online Judge). In this problem

  • Python3基础 __add__,__sub__ 两个类的实例相互加减2019-02-24 11:38:51

             Python : 3.7.0          OS : Ubuntu 18.04.1 LTS         IDE : PyCharm 2018.2.4       Conda : 4.5.11    typesetting : Markdown   code """ @Author : 行初心 @Date : 18-9-23 @Blog : www.cnblogs.com/xingchuxin @Gi

  • Others - 使用 GitHub Pages 搭建个人博客2019-02-15 09:47:54

    写在前面 GitHub 是技术知识分享的地方,如果使用它写其他奇奇怪怪的东西就算了。 正文 新建一个名为 username.github.io 的 repository。其中 username 为你的 GitHub 的用户名 在电脑中新建一个文件夹用于在本地存储你的 repository。 新建一个示例页面文件 index.html <!DOCTYPE

  • find the mincost route2019-02-14 15:50:12

    find the mincost route Time Limit: 1000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 7866    Accepted Submission(s): 3004 Problem Description 杭州有N个景区,景区之间有一些双向的路来连接,现在8600想找一条旅游路线,这

  • 杭电ACM2015--偶数求和2019-01-12 22:01:07

    偶数求和 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 120940    Accepted Submission(s): 50025 Problem Description 有一个长度为n(n<=100)的数列,该数列定义为从2开始的递增有序偶数,现在要求你按照顺序

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有