Submission

Status:

PP--PPPP-P

Subtask/Task Score:

70/100

Score: 70

User: Alif_Sama

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

Language: cpp

Time: 0.003 second

Submitted On: 2025-09-23 10:27:51

#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;

int main() {
    int a,b,x;
    cin >> a;
    cin >> b;
    cin >> x;
    int p = a * b;
    string s = to_string(p);
    cout << s[x-1];
}