原创 Python P1089 津津的儲蓄計劃

https://www.luogu.org/problemnew/show/P1089 k = -1 sum, last = 0,0 for i in range(12): a = int(input()) if(las

原创 Python P1909 買鉛筆

https://www.luogu.org/problemnew/show/P1909 n = int(input()) ans = 9999999999999 for i in range(3): a = list( map(

原创 python 爬蟲爬小說

https://blog.csdn.net/c406495762/article/details/78123502 # -*- coding:UTF-8 -*- import requests import sys from bs4 i

原创 Python 輸出整個字符畫

https://www.luogu.org/problemnew/show/P1000 print(""" ******** ************

原创 Senior Pan HDU - 6166 (兩個集合的最短路)

Senior Pan  HDU - 6166  Senior Pan fails in his discrete math exam again. So he asks Master ZKC to give him graph theor

原创 Python 保留小數位

https://www.luogu.org/problemnew/show/P1422 1.round()內置方法 a = int(input()) sum = 0 if(a >= 401): sum += (a-400)*0.56

原创 How far away ? HDU - 2586 (LCA倍增)

How far away ?  HDU - 2586  There are n houses in the village and some bidirectional roads connecting them. Every day p

原创 Python P1424 小魚的航程(改進版)

https://www.luogu.org/problemnew/show/P1424 x, n = map(int, input().split()) ans = (n//7)*5 n %= 7 while n > 0 : i

原创 Python P1008 三連擊

https://www.luogu.org/problemnew/show/P1008 a = [] b = [] for i in range(0, 10): a.append(str(i)) b.append(0)

原创 P1909 買鉛筆

https://www.luogu.org/problemnew/show/P1909 n = int(input()) ans = 9999999999999 for i in range(3): a = list( map(

原创 P1089 津津的儲蓄計劃

https://www.luogu.org/problemnew/show/P1089 k = -1 sum, last = 0,0 for i in range(12): a = int(input()) if(las

原创 H - Hard Rock URAL - 2069 (思維)

H - Hard Rock  URAL - 2069  Ilya is a frontman of the most famous rock band on Earth. Band decided to make the most awe

原创 G - Game of Nuts URAL - 2068 (博弈)

G - Game of Nuts  URAL - 2068  The war for Westeros is still in process, manpower and supplies are coming to an end and

原创 D - Different Sums URAL - 2065 (規律)

D - Different Sums  URAL - 2065  Alex is a very serious mathematician and he likes to solve serious problems. For examp

原创 Interesting Numbers URAL - 2070 (規律)

Interesting Numbers  URAL - 2070  Nikolay and Asya investigate integers together in their spare time. Nikolay thinks an