Submission

Status:

PP--PPPP-P

Subtask/Task Score:

70/100

Score: 70

User: Gump2011

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

Language: cpp

Time: 0.002 second

Submitted On: 2025-09-27 22:00:35

#include<bits/stdc++.h>
using namespace std;
#define ll long long
int main(){
    ll A, B, x;
    ll AB;
    cin >> A >> B >> x;
    AB = A*B;
    string s = to_string(AB);
    cout << s[x-1];
}