Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: Jxricho
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.002 second
Submitted On: 2025-10-16 08:46:22
#include<bits/stdc++.h>
using namespace std;
main(){
long long a,b,x;
cin>>a>>b>>x;
long long ans=a*b;
string s=to_string(ans);
if(x>s.size()){
cout<<"_";
}
else{
cout<<s[x-1];
}
}