Submission

Status:

PP--PPPP-P

Subtask/Task Score:

70/100

Score: 70

User: Boeing12345

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

Language: cpp

Time: 0.002 second

Submitted On: 2026-09-24 13:06:34

#include <iostream>
#include <string>

using namespace std;
int main(){
    int A;
    int B;
    int x;
    string n = " ";
    cin >> A >> B >> x;
    if (A <= 100000 && B <= 100000 && x <= 100000){
        n = to_string(A * B);
        cout << n[x - 1];
    }

}