Submission

Status:

PP--PPPP-P

Subtask/Task Score:

70/100

Score: 70

User: APNICHANAN

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

Language: cpp

Time: 0.004 second

Submitted On: 2025-09-23 23:44:52

#include <iostream>
#include <string>
using namespace std;
int main()
{
    int a, b, x, p;
    cin >> a >> b >> x;
    p = a * b;
    string product = to_string(p);
    cout << product[x - 1];
}