Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: thanat
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.004 second
Submitted On: 2026-09-27 18:56:13
#include<iostream>
#include<string>
using namespace std;
int main(){
int a,b,x,y;
cin>>a>>b>>x;
y=a*b;
string c = to_string(y);
if(c.length()<x){
cout<<"_";
}
else{
cout<<c[x-1];
}
}