Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: SnowAveNode

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

Language: cpp

Time: 0.003 second

Submitted On: 2025-09-19 17:45:39

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