个人记录密码2#include<bits/stdc++.h> using namespace std; int solve(string s) { int n = s.length(); if (n == 0 || s[0] == '0') return 0; const int MOD = …