#include <iostream> #include <string> using namespace std; int main() { int n; string s; cin >> n; cin >> s; long long product = 1; for (char c : s) { if (isdigit(c)) { int digit = c - '0'; product *= digit; } } char result = static_cast<char>(product); cout << result << endl; return 0; } [2025-08-30 22:30:54 | AI问答 | 103点数解答]