Submission

Status:

PP--PPPP-P

Subtask/Task Score:

70/100

Score: 70

User: faofao

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

Language: cpp

Time: 0.002 second

Submitted On: 2026-08-17 19:18:54

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

int main(){
    ios::sync_with_stdio(),cin.tie(0);
    ll x,y;cin>>x>>y;
    ll c;cin>>c;
    ll n=x*y;
    string s = to_string(n);
    cout << s[c-1];
}