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