Submission
Status:
PP--PPPP-P
Subtask/Task Score:
70/100
Score: 70
User: korn234
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.004 second
Submitted On: 2026-10-12 22:17:52
#include <iostream>
#include <cmath>
using namespace std;
using ll = long long;
int main(){
ios::sync_with_stdio(false);
cin.tie(nullptr);
int a, b, x;
cin>>a>>b>>x;
int mul=a*b;
string num=to_string(mul);
x--;
cout<<num[x]-'0';
}