Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: tha_smith
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.003 second
Submitted On: 2025-09-27 15:48:55
#include <iostream>
#include <string>
using namespace std;
int main()
{
int A,B,x;
cin >> A >> B >> x;
string result = to_string(A*B);
if(x>result.size()) {
cout << "_";
}
else {
cout << result[x- 1];
}
}