Submission
Status:
----------
Subtask/Task Score:
0/100
Score: 0
User: Nuttykub
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.004 second
Submitted On: 2026-10-01 14:00:38
#include <bits/stdc++.h>
using namespace std;
int main(){
int a,b,x;
cout <<"A = ";
cin >> a;
cout <<"B = ";
cin >> b;
cout <<"x = ";
cin >> x;
int mul = a*b;
string s = to_string(mul);
if (x-1 < s.length()) cout << s[x-1];
else cout << "_";
}