Tried to install Ubuntu desktop on my Dell Inspiron 1420 but failed, finally work around it and solved the problem. All the problems encountered might be caused by my computer graphical card "NVIDIA GeForece 8400M GS", it has hardware failure before and I ...
分类:
其他好文 时间:
2014-09-09 16:13:09
阅读次数:
266
发卡行有主密钥。在发卡的时候,发卡行把主密钥根据卡号分散,卡片得到分散密钥。交易过程中,发卡行接收到包含卡号的交易数据,通过主密钥,根据卡号得到分散密钥,根据ATC和分散密钥,得到过程密钥,使用过程密钥加密数据,得到MAC。而卡片本身已经存储有分散密钥,在交易过程中,根据ATC和分散密钥,计算得到过程密钥,使用过程密钥校验MAC是否正确。...
分类:
编程语言 时间:
2014-09-09 16:04:28
阅读次数:
405
子串和
时间限制:5000 ms | 内存限制:65535 KB
难度:3
描述给定一整型数列{a1,a2...,an},找出连续非空子串{ax,ax+1,...,ay},使得该子序列的和最大,其中,1
输入
第一行是一个整数N(N
每组测试数据的第一行是一个整数n表示序列中共有n个整数,随后的一行里有n个整数I(-100=
输出
对于每组测试数据输出和最大...
分类:
其他好文 时间:
2014-09-09 13:03:59
阅读次数:
167
java大数。
代码:
import java.util.Scanner;
import java.math.*;
public class Main{
public static void main(String[] args){
Scanner cin = new Scanner(System.in);
BigInteger a, b;
BigInteger t = BigI...
分类:
编程语言 时间:
2014-09-06 23:54:34
阅读次数:
558
rt
代码:
import java.util.Scanner;
import java.math.*;
public class Main{
public static void main(String[] args){
Scanner cin = new Scanner(System.in);
BigInteger a, b, c, ans, temp1, temp2;
wh...
分类:
编程语言 时间:
2014-09-06 23:54:14
阅读次数:
488
先算出来2^k*2^k 之后减去1,最后除3即可
代码:
import java.util.Scanner;
import java.math.*;
public class Main{
public static void main(String[] args){
Scanner cin = new Scanner(System.in);
BigInteger ans,ans1, ...
分类:
编程语言 时间:
2014-09-06 23:53:24
阅读次数:
557
这道题有点小坑。。
特殊数据
输入 0.0 0.0
输出 0
代码:
import java.util.Scanner;
import java.math.*;
public class Main{
public static void main(String[] args){
Scanner cin = new Scanner(System.in);
BigDecimal...
分类:
编程语言 时间:
2014-09-06 23:52:34
阅读次数:
481
先用字符串将字符串接收,然后在用BigInteger就好了
代码:
import java.util.Scanner;
import java.math.*;
public class Main{
public static void main(String[] args){
Scanner cin = new Scanner(System.in);
while(cin.hasNex...
分类:
编程语言 时间:
2014-09-06 23:52:04
阅读次数:
488
http://acm.hdu.edu.cn/showproblem.php?pid=4336
有N种卡片,每一袋零食里面最多有一张卡片,给出一袋零食里面每种卡片的概率,问平均要买多少袋零食能收集到所有的卡片。
状态压缩一下,共有1
这一袋零食里没有卡片,概率为p(没有一张卡片的概率),状态转移到sta;
这一袋零食里面有卡片j,但是他已经拥有这种卡片,概率是a[j],状...
分类:
其他好文 时间:
2014-09-06 16:09:53
阅读次数:
260
After installed the the graphical card driver in Ubuntu, the gnome desktop was not working anymore, needs to install and setup the wireless network, herewith the procedure,...
分类:
Web程序 时间:
2014-09-05 22:27:02
阅读次数:
226