摘要: #!/usr/bin/env python3# -*- coding: utf-8 -*-"""Created on Fri Jul 27 18:08:26 2018@author: luogan"""# 树节点类构建class TreeNode(objec... 阅读全文
posted @ 2018-07-27 18:14 luoganttcc 阅读(157) 评论(0) 推荐(0) 编辑
摘要: index 这是很简单的一个插入数据的方法,每条数据调用一个index方法,代码如下from datetime import datetimefrom elasticsearch import Elasticsearches = Elasticsearch... 阅读全文
posted @ 2018-07-26 15:58 luoganttcc 阅读(677) 评论(0) 推荐(0) 编辑
摘要: localhost:5601 阅读全文
posted @ 2018-07-26 15:26 luoganttcc 阅读(135) 评论(0) 推荐(0) 编辑
摘要: haskelllet fibonacci n = if n fibonacci 206765pythondef factorial(n): if n==1 or n==2: return 1 else: return... 阅读全文
posted @ 2018-07-25 22:16 luoganttcc 阅读(149) 评论(0) 推荐(0) 编辑
摘要: public class Employee{ String name; int age; String designation; double salary; // Employee 类的构造器 public Employee(Str... 阅读全文
posted @ 2018-07-24 14:01 luoganttcc 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 链接 阅读全文
posted @ 2018-07-24 13:17 luoganttcc 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(57) 评论(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 阅读(195) 评论(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 阅读(314) 评论(0) 推荐(0) 编辑
摘要: package mainimport "fmt"func fibonacci( num int ) int{ if num<2{ return 1 } return fib... 阅读全文
posted @ 2018-07-19 22:54 luoganttcc 阅读(106) 评论(0) 推荐(0) 编辑