Submission
Status:
PPPPPPP-PP
Subtask/Task Score:
90/100
Score: 90
User: Krovmoroz
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.002 second
Submitted On: 2025-11-04 16:16:14
#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]:'_');
}