Submission
Status:
PP--PPPP-P
Subtask/Task Score:
70/100
Score: 70
User: nuxh
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.004 second
Submitted On: 2026-10-12 15:30:07
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main(){
int a,b,x;
cin >> a >> b >> x;
int c = a*b;
string s = to_string(c);
int z = s.size();
if(z<x){
return 0;
}
cout << s[x-1];
}