Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: Tjeez
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.004 second
Submitted On: 2026-09-26 00:35:18
#include <iostream>
#include <vector>
using namespace std;
int main(){
int a,b,x;
cin >> a >> b >> x;
int s = a*b;
vector<int> v;
while(s>0){
v.push_back(s%10);
s/=10;
}
if (x>v.size()){
cout<<"_";
}
else{
cout<<v[v.size()-x];
}
}