摘要: public class BubbleSort{ public static void main(String[] args){ int a[] = {1, 23, 45, 6, 0, 99, 100, 89, 34, 56}; ... 阅读全文
posted @ 2018-07-24 12:03 luoganttcc 阅读(70) 评论(0) 推荐(0)
摘要: #include#include#include int main(){ double a,b,c,disc,x1,x2,p,q; scanf("%lf%lf%lf",&a,&b,&c); disc=b*b-4*a*c; if (disc<0) ... 阅读全文
posted @ 2018-07-23 22:44 luoganttcc 阅读(221) 评论(0) 推荐(0)
摘要: 原文链接sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin sudo rm -fr /Library/PreferencesPanes/JavaControlPanel.prefpa... 阅读全文
posted @ 2018-07-22 21:05 luoganttcc 阅读(337) 评论(0) 推荐(0)
摘要: package mainimport "fmt"func fibonacci( num int ) int{ if num<2{ return 1 } return fib... 阅读全文
posted @ 2018-07-19 22:54 luoganttcc 阅读(125) 评论(0) 推荐(0)
摘要: from elasticsearch import Elasticsearch# 默认host为localhost,port为9200.但也可以指定host与portes = Elasticsearch()# 添加或更新数据,index,doc_type名称... 阅读全文
posted @ 2018-07-18 19:55 luoganttcc 阅读(129) 评论(0) 推荐(0)
摘要: 原文 阅读全文
posted @ 2018-07-18 14:26 luoganttcc 阅读(77) 评论(0) 推荐(0)
摘要: open ~/.ssh在.ssh/config(或者/etc/ssh/ssh_config)中配置:StrictHostKeyChecking noUserKnownHostsFile /dev/null 阅读全文
posted @ 2018-07-17 15:51 luoganttcc 阅读(281) 评论(0) 推荐(0)
摘要: 原文永久挂载 阅读全文
posted @ 2018-07-16 18:53 luoganttcc 阅读(74) 评论(0) 推荐(0)
摘要: left = pd.DataFrame({'A': ['A0', 'A1', 'A2'], 'B': ['B0', 'B1', 'B2']}, index=['K0', 'K... 阅读全文
posted @ 2018-07-11 19:43 luoganttcc 阅读(1203) 评论(0) 推荐(0)
摘要: 链接 阅读全文
posted @ 2018-07-11 15:46 luoganttcc 阅读(147) 评论(0) 推荐(0)