Submission
Status:
PP---PP--P
Subtask/Task Score:
50/100
Score: 50
User: Boeing12345
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.004 second
Submitted On: 2026-09-24 13:09:07
#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];
}
if (x-1 <= 0 || x-1 >= n.length()){
cout << "_";
}
}