范围遍历&结构化绑定
摘要:
范围遍历 基础形式: for(auto x : s) cout << x << endl; 对于vector<piar<int, int>> e[maxn]; for(int u, v, w; m; -- m) { cin >> u >> v >> w; e[u].emplace_back(v, w 阅读全文
posted @ 2025-09-05 16:13 TBeauty 阅读(6) 评论(0) 推荐(0)
2025年9月5日 #
posted @ 2025-09-05 16:13 TBeauty 阅读(6) 评论(0) 推荐(0)