首页 > 2015年12月06日 > 全部分享
Shell高级编程学习笔记
目录1.shell脚本的执行方法2.shell的变量类型3.shell特殊变量4.变量子串的常用操作5.批量修改文件名实践6.变量替换7.在shell中计算字符串长度的方法8.变量的数值计算:(()) 的用法9.待续1.shell脚本的执行方法 返回目录当shell脚本以非交互的方式运行时,它会先查...
分类:系统服务   时间:2015-12-06 11:28:15    收藏:0  评论:0  赞:0  阅读:248
java 包中的一款经典的singleton模式
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fil...
分类:编程语言   时间:2015-12-06 11:28:05    收藏:0  评论:0  赞:0  阅读:177
1019. General Palindromic Number (20)
时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA number that will be the same when it is written forwards or backwards is known as a Palind...
分类:其他   时间:2015-12-06 11:27:55    收藏:0  评论:0  赞:0  阅读:191
1022. Digital Library (30)
A Digital Library contains millions of books, stored according to their titles, authors, key words of their abstracts, publishers, and published years...
分类:其他   时间:2015-12-06 11:27:45    收藏:0  评论:0  赞:0  阅读:255
1026. Table Tennis (30)
注意数据合法性的检测。26分的时候 有人打了两个多小时,只能打两个小时,有人9点之后来的,要排除。时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA table tennis club has N tables available ...
分类:其他   时间:2015-12-06 11:27:35    收藏:0  评论:0  赞:0  阅读:223
1039. Course List for Student (25)
1039. Course List for Student (25)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueZhejiang University has 40000 students and provides 2500 c...
分类:其他   时间:2015-12-06 11:27:25    收藏:0  评论:0  赞:0  阅读:182
Java 散知识
final关键字的用法: 1. final关键字修饰一个基本类型的变量时,该变量不能重新赋值,第一次的值为最终的。 2. fianl关键字修饰一个引用类型变量时,该变量不能重新指向新的对象。 3. final关键字修饰一个函数的时候,该函数不能被重写。 4. final关键字修饰一个类的时候,该类不...
分类:编程语言   时间:2015-12-06 11:27:15    收藏:0  评论:0  赞:0  阅读:135
“以软件开发生命周期来说明不同的测试的使用情况”
我们所使用的测试方法有以下几种功能测试单元测试(使用场景:在编码阶段,每完成一段相对完整的代码块时,单元测试几乎贯穿整个编码过程)黑盒测试(使用场景:在编码阶段,没完成一各相对独立的模块时,例如京东的用户登陆模块完成后,软件测试人员使用编好的测试用例,判断该模块是否通过)白盒测试(使用场景:在编码阶...
分类:其他   时间:2015-12-06 11:26:45    收藏:0  评论:0  赞:0  阅读:180
网图片查看器
public void on(View view){ //获取网络图片的地址 String path="http://192.168.1.6:8080/Image/meinv.jpg"; //发送http请求 try { //使用网址构建一个URL对象 ...
分类:其他   时间:2015-12-06 11:26:35    收藏:0  评论:0  赞:0  阅读:193
1048. Find Coins (25)
Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which cou...
分类:其他   时间:2015-12-06 11:26:25    收藏:0  评论:0  赞:0  阅读:170
1034. Head of a Gang (30)
注意这里n是电话数,电话数不超过1000代表人数不超过两千,。。。好坑。。。。时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueOne way that the police finds the head of a gang is t...
分类:其他   时间:2015-12-06 11:26:15    收藏:0  评论:0  赞:0  阅读:208
1023. Have Fun with Numbers (20)
Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 2469135...
分类:其他   时间:2015-12-06 11:26:05    收藏:0  评论:0  赞:0  阅读:177
Java抽象类
抽象类的应用场景: 我们在描述一类事物的时候,发现该种事物确实存在着某种行为,但是这种行为目前是不具体的,那么我们可以抽取这种行为 的声明,但是不去实现该种行为,这时候这种行为我们称作为抽象的行为,我们就需要使用抽象类。抽象类的好处: 强制要求子类一定要实现指定的方法。抽象类要注意的细节: 1...
分类:编程语言   时间:2015-12-06 11:25:45    收藏:0  评论:0  赞:0  阅读:175
1044. Shopping in Mars (25)
Shopping in Mars is quite a different experience. The Mars people pay by chained diamonds. Each diamond has a value (in Mars dollars M$). When making ...
分类:其他   时间:2015-12-06 11:25:25    收藏:0  评论:0  赞:0  阅读:252
226_Invert Binary Tree
反转二叉树,将每个节点的左节点和右节点交换可以使用递归方法,先将交换函数在左节点和右节点递归下去,然后再交换左右节点C:/** * Definition for a binary tree node. * struct TreeNode { * int val; * struct T...
分类:其他   时间:2015-12-06 11:25:15    收藏:0  评论:0  赞:0  阅读:260
1050. String Subtraction (20)
Given two strings S1 and S2, S = S1 - S2 is defined to be the remaining string after taking all the characters in S2 from S1. Your task is simply to c...
分类:其他   时间:2015-12-06 11:25:05    收藏:0  评论:0  赞:0  阅读:240
1042. Shuffling Machine (20)
时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueShuffling is a procedure used to randomize a deck of playing cards. Because standard shuffli...
分类:系统服务   时间:2015-12-06 11:24:55    收藏:0  评论:0  赞:0  阅读:297
1014. Waiting in Line (30)
排队模型先把每个窗口的黄线排满如果还有人的话,前面完事儿一个插入一个。最后把每个队伍的人服务完。时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSuppose a bank has N windows open for servic...
分类:其他   时间:2015-12-06 11:24:45    收藏:0  评论:0  赞:0  阅读:201
干式双离合和湿式双离合的优缺点
前不久7速DSG双离合变速器的先天不足,所引发的传档抖动、换档异响、跑了一段时间后,警告灯突然报警,然后车便自动停下来等等事故,也让许多选择了这种变速器的消费者连连喊冤。大家都觉得自己变成了大众不成熟的干式变速箱的“小白鼠”,于是纷纷在网上发帖来声讨这种变速器的不合理之处。□7速DSG双离合变速箱可...
分类:其他   时间:2015-12-06 11:24:35    收藏:0  评论:0  赞:0  阅读:453
1036. Boys vs Girls (25)
This time you are asked to tell the difference between the lowest grade of all the male students and the highest grade of all the female students.Inpu...
分类:其他   时间:2015-12-06 11:24:25    收藏:0  评论:0  赞:0  阅读:193
1793条   上一页 1 ... 57 58 59 60 61 ... 90 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!