Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: .n0t_gloomy.

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

Language: cpp

Time: 0.004 second

Submitted On: 2025-09-29 21:23:34

#include <bits/stdc++.h>
using namespace std;
int main()
{
    int a,b,x;
    cin>>a>>b>>x;
    int c = a*b;
    string s = to_string(c);
    s += "__________";
    cout<<s[x-1];
    return 0;

}