issues
search
tipstar0125
/
atcoder
atcoder
6
stars
0
forks
source link
C++チートシート
#49
Open
tipstar0125
opened
10 months ago
tipstar0125
commented
10 months ago
文字列
数値->文字列変換: to_string(n)
文字列->数値変換: stoi(s)
長さ: N.length()
set
長さ: set.size()
tipstar0125
commented
10 months ago
vector
初期化: vector
v(N, 0)
2次元初期化: vector<vector
> v(N, vector
(M))