Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: cyblox_boi
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.002 second
Submitted On: 2025-10-16 10:30:57
#include <iostream>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int a, b, x;
cin >> a >> b >> x;
string result = to_string(a * b);
if (x <= result.length())
{
cout << result[x - 1];
}
else
{
cout << '_';
}
cout << '\n';
return 0;
}