Submission

Status:

PP--PPPP-P

Subtask/Task Score:

70/100

Score: 70

User: samsenpisardmoo26

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

Language: cpp

Time: 0.004 second

Submitted On: 2026-10-06 04:28:14

#include <bits/stdc++.h>
using namespace std;
int main()
{
    int a,b;
    cin >> a >> b;
    int m = a*b;
    int n;
    cin >> n;
    
    string ans = to_string(m);
    
    cout << ans[n-1];
}