Submission

Status:

PP--PPPP-P

Subtask/Task Score:

70/100

Score: 70

User: Kidmaiok

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

Language: cpp

Time: 0.004 second

Submitted On: 2026-10-10 20:43:11

#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ull unsigned long long
#define space << ' '
#define nl << endl

int main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    int a,b,x;
    cin >> a >> b >> x;
    int t = a*b;
    string y = to_string(t);
    cout << y[x-1];
}