Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: Nuttykub

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

Language: cpp

Time: 0.003 second

Submitted On: 2026-10-01 14:01:36

#include <bits/stdc++.h>
using namespace std;
int main(){
    int a,b,x;
    cin >> a >> b >> x;
    int mul = a*b;
    string s = to_string(mul);
    if (x-1 < s.length()) cout << s[x-1];
    else cout << "_";
}