Submission
Status:
PPPPPPP-PP
Subtask/Task Score:
90/100
Score: 90
User: grassjelly474a
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.002 second
Submitted On: 2026-10-13 10:04:30
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
constexpr char sp = ' ';
constexpr char nl = '\n';
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int a, b, x;
cin >> a >> b >> x;
string r = to_string(a * b);
if (x >= r.size())
cout << "_";
else
cout << r[x - 1];
}