原创 [python學習]Turtle庫

(一)簡介 python內置圖形化模塊 #一般操作 import Turtle from Turtle import * (二)控制畫筆繪製狀態的方法 1.pendown():放下畫筆移到指定點後繼續繪製 2.penup():

原创 【四校訓練賽二】總結收穫與多題多解

PART #1: 題目地址 PART #2: 【個人總結,讀者可跳過】四校訓練賽第二場,比賽時一小時出4道題,其中有一道CF的原題,之前做過的還WA了兩發很不應該,然後一道簡單的概率題寫20分鐘之久需提高。到比賽一個小時後之後

原创 CUIT 2016 新生訓練題第一週 A - 大菲波數

A - 大菲波數 Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64u Description Fibonacci數列,定義

原创 [數學建模]線性規劃與matlab解法

1.1 線性規劃問題(LinearProgramming,LP) 1.1.1 線性規劃的實例和定義 某機牀廠生產甲、乙兩種機牀,每臺銷售後的利潤分別爲4000元與3000元。生產甲機牀需用A、B機器加工,加工時間分別爲每臺2h

原创 CUIT ACM Personal Training 11.27(FM)B - IQ Test

B - IQ Test Time Limit:2000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64u Description In the ci

原创 CUIT 2016 新生訓練題第一週 B - Adding Reversed Numbers

B - Adding Reversed Numbers   The Antique Comedians of Malidinesia prefer comedies to tragedies. Unfortunately, m

原创 [大模擬]兩種方式解決Chat(UVALive-7047)大模擬

Part 1:題目地址 1.UVALive Chat UVALive - 7047 2.Virtual Judge Chat UVALive - 7047 3.HDU Chat UVALive - 7047 Par

原创 CUIT ACM Personal Training 11.27(FM)J - Building Permutation

J - Building Permutation Time Limit:2000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64u Description

原创 CUIT 2016 新生訓練題第一週 E - N!

Given an integer N(0 ≤ N ≤ 10000), your task is to calculate N!  InputOne N in one line, process to the end of file.

原创 CUIT 2016 新生訓練題第一週 C - Bull Math

C - Bull Math   Bulls are so much better at math than the cows. They can multiply huge integers together and get pe

原创 CUIT ACM Personal Training 11.27(FM)F - Polo the Penguin and Strings

F - Polo the Penguin and Strings Time Limit:2000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64u

原创 CUIT ACM Personal Training 11.27(FM) H - Slightly Decreasing Permutations

H - Slightly Decreasing Permutations Time Limit:2000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64u

原创 C++用純字符串來處理高精度問題代碼

#include<stdio.h> #include<string> #include<string.h> #include<iostream> using namespace std; //compare比較函數:相等返回0,大於返回

原创 CUIT ACM Personal Training 11.27(FM)C - Cupboards

C - Cupboards Time Limit:2000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64u Description One foggy

原创 CUIT ACM Personal Training 11.27(FM)D - Yaroslav and Permutations

D - Yaroslav and Permutations Time Limit:2000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64u Descri