Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: pann

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

Language: cpp

Time: 0.004 second

Submitted On: 2026-10-03 04:00:19

#include <iostream>
using namespace std;

int main(){
    int a, b, x;
    cin >> a >> b >> x;
    string c = to_string(a*b);
    if (x-1 < c.length()){
        cout << c[x-1];
    }
    else {
        cout << "_";
    }
    return 0;
}