Submission

Status:

PP--PPPP-P

Subtask/Task Score:

70/100

Score: 70

User: GoofyGooner6767

Problemset: เลขหลักของผลคูณ

Language: cpp

Time: 0.002 second

Submitted On: 2026-10-29 14:06:40

#include<bits/stdc++.h>
using namespace std;

int main(){
    ios_base::sync_with_stdio(false);
    cin.tie(nullptr);

    long long a,b,x,s;
    cin >> a >> b >> x;
    s=a*b;
    string r = to_string(s);
    cout << r[x-1];
}