Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: eefirefire
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.002 second
Submitted On: 2026-10-04 19:17:24
#include <bits/stdc++.h>
using namespace std;
int main(){
int a, b, x;
cin >> a >> b >> x;
int multiply = a * b;
string st = to_string(multiply);
if(x > st.size()){
cout << "_";
return 0;
}
cout << st[x-1];
}