Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: SushiCodelnw

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

Language: cpp

Time: 0.002 second

Submitted On: 2025-09-26 13:08:08

#include <iostream>
using namespace std;

int main() {
    long long a, b, x;
    cin >> a >> b >> x;

    string s = to_string(a*b);
    if (s.length() > x - 1) cout << s[x - 1] << endl;
    else cout << "_" << endl;


    return 0;
}