Submission

Status:

PP--PPPP-P

Subtask/Task Score:

70/100

Score: 70

User: yourmom

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

Language: cpp

Time: 0.002 second

Submitted On: 2026-10-06 13:47:37

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

int main() {
    int A, B, x;
    cin >> A >> B >> x;

    int sum = A * B;
    string s = to_string(sum);

    cout << s[x - 1];

    return 0;
}