#include <bits/stdc++.h>
using namespace std;
unordered_map<string, int> parseFormulaEx(string::iterator s, string::iterator e) {
unordered_map<string, int> cnt;
// 计算系数
int coef = 0;
while (isdigit(*s)) {
coef = coef * 10 + *s - '0';
++s;
}
coef = max(coef, 1);
while (s != e) {
unordered_map<string, int> temp;
if (*s == '(') {
// 找到匹配的')'
auto p = s + 1;
int cnt = 1;
while (cnt != 0) {
CCF CSP 竞赛试题——化学方程式(201912-3)
最新推荐文章于 2024-05-26 02:22:46 发布
这篇博客详细探讨了2019年12月CCF CSP竞赛中涉及的化学方程式题目,深入解析了题目的解题思路和解决方法。

最低0.47元/天 解锁文章
1100

被折叠的 条评论
为什么被折叠?



