码迷,mamicode.com
首页 >  
搜索关键字:shell 公约数 公倍数    ( 30277个结果
projecteuler---->problem=5----Smallest multiple n个数求最小公倍数
title: 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest positive number that is evenly divisible by all of the nu...
分类:其他好文   时间:2014-06-07 01:27:37    阅读次数:229
CentOS Linux Install Core Development
How do I install all developer tools such as GNU GCC C/C++ compilers, make and others, after installing CentOS from a shell prompt?you can following the nest line do ,install almost all development to...
分类:系统相关   时间:2014-06-07 01:23:47    阅读次数:317
执行 CMD 时,参数加引号常见问题
在调用 CMD 时,如脚本中用 WScript.Shell 调用。 如果参数中有包含空格的长路径名时,必须要加引号才能正确被识别。 是的,大家都知道要加引号,但怎么加却容易被误解。这个问题,不时地会遇上,上次弄清楚了,但隔一段时间,还是忘了,同样的问题又要重新摸索,非常痛苦。 如: Set objShell = WScript.CreateObject("WScript...
分类:其他好文   时间:2014-06-05 11:54:12    阅读次数:430
startallserver
[lvhongmin@AY1401201736089361adZ start_svr]$ cat startall_svr.sh  #!/bin/bash errpath[0]='' errnum=0 runnum=0 curr_path=`pwd` #进程的名字 array[${#array[*]}]=/home/lvhongmin/bin/bin....
分类:其他好文   时间:2014-06-05 11:11:43    阅读次数:243
ACM-简单题之Least Common Multiple——hdu1019
ACM 简单题 Least Common Multiple hdu1019 最小公倍数...
分类:其他好文   时间:2014-06-05 11:10:22    阅读次数:268
adb shell input的用法
最近做LCD模组的gamma自动化测试过程中用到了input命令,于是也来了解一下该命令的使用。在运行adb shell 后输入input后运行就会输出input的使用方法,如下: Usage: input [] [...] The sources are:       trackball       joystick       touchnavigation...
分类:数据库   时间:2014-06-05 10:55:38    阅读次数:274
chrome的ssh客户端插件-- secure shell
强大的chrome中的插件中实现的ssh客户端...
分类:其他好文   时间:2014-06-05 09:19:55    阅读次数:245
killallserver
[lvhongmin@AY1401201736089361adZ start_svr]$ cat killall_svr.sh  #!/bin/bash unrun[0]='' unnum=0 runnum=0 #进程的名字 array[${#array[*]}]=paiyouQuan.svr array[${#array[*]}]=jjm.cornucopia.svr...
分类:其他好文   时间:2014-06-05 08:04:29    阅读次数:277
shell编程教程or学习笔记
----------------------------------------------------hello world------------------------------------------- linux 创建如下文件 vim hello #! /bin/bash   //告诉Shell 使用哪个Shell 程序 #Display  a line    //#表示...
分类:其他好文   时间:2014-06-05 02:41:41    阅读次数:393
Codeforces Beta Round #1 C. Ancient Berland Circus
果然Java还是不靠谱啊,一个NaN把我整了半天~~ 题目大意: 有一个正多边形,给出任意三个顶点的坐标,求这个正多边形的最小面积。 解题思路: 首先要知道这三个顶点组成的三角形的外接圆一定是这个正多边形的外接圆。 用过计算出三角形的三边长,可以计算出三角型面积,进而推出外接圆半径。 可以得到三个圆心角,找出最大公约数,那就是最大角度。 就可以计算出多边形面积了~~ ...
分类:其他好文   时间:2014-06-05 01:10:27    阅读次数:300
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!