Submission

Status:

PP--PPP--P

Subtask/Task Score:

60/100

Score: 60

User: SRW

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

Language: cpp

Time: 0.002 second

Submitted On: 2026-09-30 15:49:40

#include <iostream>
using namespace std;
int main(){
    int a,b;
    cin >> a >> b;
    int x;
    cin >> x;
    int product = a*b;
    string product_s = to_string(product);
    cout << product_s[x-1];
    if (x >= product_s.size()){
        cout << "_";
    }
}