Submission
Status:
PP--PPPP-P
Subtask/Task Score:
70/100
Score: 70
User: uraniumconsumer
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.004 second
Submitted On: 2026-09-26 15:09:45
#include <bits/stdc++.h>
using namespace std;
int main(){
int A;
cin >> A;
int B;
cin >> B;
int x;
cin >> x;
int pro = A * B;
string pos = to_string(pro);
if((x-1) > pos.length()){
cout << ' ';
}
else{
cout << pos[x-1];
}
}