原创 zznuli--1909
Description 小火山和他的朋友岩漿, 分別打算去買商店買一些東西。小火山的起始位置爲(X1, Y1),終止位置爲(X2, Y2), 速度爲U; 岩漿的起始位置爲(X3, Y3), 終止位置爲(X4, Y4), 速度爲V, 雙
原创 HDU----2955
Description The aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets
原创 簡單
Description SVM(Support Vector Machine)is an important classification tool, which has a wide range of applicatio
原创 HDU----1686
Description The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. H
原创 HDU1231最大的連續序列和
Description 給定K個整數的序列{ N1, N2, ..., NK },其任意連續子序列可表示爲{ Ni, Ni+1, ..., Nj },其中 1 <= i <= j <= K。最大連續子序列是所有連續子序列中元素和最
原创 河南多校大一訓練賽
Description Your karate club challenged another karate club in your town. Each club enters N players into the match,
原创 斐波那契數列,大數據
Description You will be given a string which only contains ‘1’; You can merge two adjacent ‘1’ to be ‘2’, or leave t
原创 HDU----5461水題
Description Given the sequence with integers . Given the integral coefficients and . The fact that select two e
原创 HDU----1083
Description Consider a group of N students and P courses. Each student visits zero, one or more than one courses. Yo
原创 簡單DP
Description Jesus, what a great movie! Thousands of people are rushing to the cinema. However, this is really a
原创 多校
Description 兩隻青蛙在網上相識了,它們聊得很開心,於是覺得很有必要見一面。它們很高興地發現它們住在同一條緯度線上,於是它們約定各自朝西跳,直到碰面爲止。可是它們出發之前忘記了一件很重要的事情,既沒有問清楚對方的特
原创 CodeForces 500A
Description New Year is coming in Line World! In this world, there are n cells numbered by integers from 1 to n,
原创 POJ1287——————networking
Description You are assigned to design network connections between certain points in a wide area. You are given a se
原创 不知道
Description Given a code (not optimized), and necessary inputs, you have to find the output of the code for the i
原创 UVA____10200
這個就是一個簡單的素數判斷,然後就是求a, b之間素數存在的概率不知道爲什麼就是最後概率後面要+1e-8可能即使double精確度吧 #include<stdio.h> #include<string.h> #include<iostr