package com.yikuan.cn; import java.util.ArrayList;import java.util.Collection;import java.util.Date; public class Test2 { public static void main(Stri ...
分类:
其他好文 时间:
2018-08-18 00:43:39
阅读次数:
130
1、 尝试通过if-else来解决异常问题: Eg: public class Test2 { public static void main(String[] args) { Scanner in = new Scanner(System.in); … System.out.print("请输入除 ...
分类:
编程语言 时间:
2018-08-15 12:35:27
阅读次数:
690
D. Vasya And The Matrix time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Now Vasya is taking ...
分类:
其他好文 时间:
2018-08-05 00:31:39
阅读次数:
146
with open("testt","r") as f1: list1 = f1.readlines() print(list1) list1 = set(list1) with open("test2","r") as f2: list2 = f2.readlines() print(list2)... ...
分类:
编程语言 时间:
2018-07-30 00:34:02
阅读次数:
153
JDBC事务 String URL="jdbc:sqlserver://localhost:1433;databaseName=test2"; String USER="sa"; String PASSWORD="sapassword"; try { Class.forName("com.micro ...
分类:
数据库 时间:
2018-07-29 16:25:21
阅读次数:
164
说明:待执行测试用例放到"d:\\Python37\\testcase",文件命名格式可改成test1.py,test2.py等等,文件名不要有空格,否则识别不了。 #coding:utf-8import unittestimport HTMLTestRunnerdef all_case(): #待 ...
分类:
Web程序 时间:
2018-07-29 11:48:38
阅读次数:
687
D. Xenia and Bit Operationstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output D. Xenia and Bit Ope ...
分类:
其他好文 时间:
2018-07-29 00:47:40
阅读次数:
147
我们知道在ES6中,引入了箭头函数,其本质就是等同有ES5中的函数。类似于下面的写法: let test1=() => “abc”; let test2=() => { return “abc”}; let sum=(a,b) => a+b; 比如上面的3个ES6的箭头函数的写完,如果用ES5就像下 ...
分类:
其他好文 时间:
2018-07-27 19:29:25
阅读次数:
148
#!/bin/bash# configure networkcat >/etc/sysconfig/network-scripts/ifcfg-eth0>/etc/fstabmkdir /etc/yum.repos.d/bak mv /etc/yum.repos.d/Cen* /etc/yum.re... ...
分类:
其他好文 时间:
2018-07-22 20:01:47
阅读次数:
158
#面向对象:特点:类(class)#面向过程:过程(def)#函数式编程:函数(def)#定义函数:def func1():# """test....""" print('in the func1') return 0#定义过程def func2() """test2..........""" pr ...
分类:
其他好文 时间:
2018-07-22 17:04:50
阅读次数:
116