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