Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: GoofyGooner6767
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.002 second
Submitted On: 2026-10-29 14:08:27
#include<bits/stdc++.h>
using namespace std;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
long long a,b,x,s;
cin >> a >> b >> x;
s=a*b;
string r = to_string(s);
if(r.size()<x){
cout << '_';
return 0;
}
cout << r[x-1];
}