Files
python/LuoGu/RuMen/常用办法.txt
HuangHai 1f397eca87 'commit'
2025-08-30 18:35:01 +08:00

9 lines
159 B
Plaintext

//字符串转数字
int num = 0;
istringstream(str) >> num;
//数字转字符串
to_string(10);
//排序(倒序)
sort(a, a + n, greater<int>());