Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: Krovmoroz
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.002 second
Submitted On: 2025-11-04 16:18:44
#include <bits/stdc++.h>
using namespace std;
long long A,B,x;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
cin >> A >> B >> x;
string s = to_string(A*B);
cout << ((x<=s.size())?s[--x]:'_');
}