#24320: C++ string


fire5386 (becaidorz)

School : 國立清華大學
ID : 115822
IP address : [140.114.218.50]
Last Login :
2024-06-16 15:43:25
e208. 11541 - Decoding -- UVA | From: [61.230.25.215] | Post Date : 2021-02-06 15:31

C++有個函式叫 string(int n, char c)

例如:string(5, '0')會回傳"00000"、string(12, 'Z') = "ZZZZZZZZZZZZ"

懂了後這題就很簡單了

 
ZeroJudge Forum