Submission

Status:

PP--PPPP-P

Subtask/Task Score:

70/100

Score: 70

User: SRW

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

Language: cpp

Time: 0.004 second

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

#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 << "_";
    }
}