Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: VggT
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.003 second
Submitted On: 2025-10-16 23:07:12
#include <bits/stdc++.h>
using namespace std;
int main()
{
cin.tie(0)->sync_with_stdio(0);
long long a, b, x;
cin >> a >> b >> x;
string s = to_string(a*b);
if(x > s.size()) cout << "_";
else cout << s[x-1];
return 0;
}