Submission

Status:

P------P--

Subtask/Task Score:

20/100

Score: 20

User: Zailagend1

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

Language: cpp

Time: 0.003 second

Submitted On: 2026-06-29 09:41:50

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

int main()
{

    int a,b,c,d;
    string e;
    cin >> a >> b >> d;
    c = a*b;
    e = to_string(c);
    cout << e[e.size()-d];
    
    return 0;
}