摘要:        
// https://www.cnblogs.com/buptLizer/archive/2011/09/18/2180723.html #include #include #include #include using namespace std; const int N=100002; const int sonNum=28; struct nodeIdx{ ...    阅读全文
posted @ 2020-05-28 16:46
katago
阅读(255)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Python的输入数野生字符串,需要自己转型,常用的转型函数有: strip :将两端的空白字符去掉,返回str slipt :将字符串用空白字符分开,返回[str] map:把list里面的值映射到指定类型,返回[type] isspace:是否用空行组成 EOF用来抓异常 输出加','不换行 Python3不能用raw_input(),而是用input()就行了,输出必须加“...    阅读全文
posted @ 2020-05-28 16:11
katago
阅读(517)
评论(0)
推荐(0)
        
            
        
        
摘要:        
import random import string # 随机整数:包含头尾 print random.randint(1,50) # 随机选取0到100间的偶数: print random.randrange(0, 101, 2) # 随机浮点数: print random.random() [0,1) print random.uniform(1,...    阅读全文
posted @ 2020-05-28 16:09
katago
阅读(782)
评论(0)
推荐(0)
        

 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号