原创 Monkey and Banana HDU - 1069
題目 A group of researchers are designing an experiment to test the IQ of a monkey. They will hang a banana at the roof o
原创 Dungeon Master POJ - 2251
You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may
原创 Find The Multiple POJ - 1426
Given a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation contains
原创 Fire!
Fire! UVA - 11624 #include<iostream> #include<stdio.h> #include<algorithm> #include<queue> using namespace std; stru
原创 迷宮問題 POJ - 3984
定義一個二維數組: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, };
原创 笨蛋蛋都能學會的開機grub消除(雙系統開機總是黑屏腫麼辦--多半是欠reset)...
相信很多萌新都和剛剛學會安裝雙系統的我一樣,沒有手動給第二個系統分區(因爲自己太菜了),又經過一系列莫名奇妙的智障操作,導致第二個系統不僅進不去,而且還會在每次開機時出現一個黑框框(我們叫他grub頁面)。 身爲智障的我只有每次輸
原创 Find a way HDU - 2612
Pass a year learning in Hangzhou, yifenfei arrival hometown Ningbo at finally. Leave Ningbo one year, yifenfei have man
原创 Python-100-Days-Day5
今天是鞏固複習,將分支結構和循環結構相結合起來 ''' practice 3:打尋找水仙花數 2019年7月12日 Cute_Abacus ''' import math size=int(input('請輸入查找範圍:\n'))
原创 Python-100-Days-Day8
類就先這樣吧,看在昨天寫了詞雲的份上 from time import sleep import os class Peach(object): def __init__(self, hour=0, minute=
原创 Python-100-Days-Day4
'''example: 輸出九九乘法表''' for i in range(1,10): for j in range(1,i+1): print('%d * %d = %d ' %(j,i,i*j), e
原创 向詞雲開戰!(一)
環境配置:我的是pycharm+ANACONDA3_4.3.1。之前沒有安裝需要的jieba和WordCloud,但是這很簡單,直接從官網找到兩個包下zip版本之後解壓到ANACONDA3_4.3.1下的pkgs,點開pych
原创 非常可樂 HDU - 1495
大家一定覺的運動以後喝可樂是一件很愜意的事情,但是seeyou卻不這麼認爲。因爲每次當seeyou買了可樂以後,阿牛就要求和seeyou一起分享這一瓶可樂,而且一定要喝的和seeyou一樣多。但seeyou的手中只有兩個杯子,它們的容量分
原创 離散數學 整理
離散數學公式總結
原创 Python-100-Days-Day6
今天是練習函數和模塊的部分,一般就是一個def就vans了,還瞭解到了一個叫做__name__ 的東西 ''' practice 1: gcd函數 2019年7月13日 Cute_Abacus ''' def gcd(x,y):
原创 Python-100-Days-Day9
解釋器:@property 和 xxx.setter的用法 class Person(object): def __init__(self, name, age): self._name = name