Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: vachirasawin
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.002 second
Submitted On: 2026-03-13 14:36:25
// grader-chan
// c1_bkk66_1.cpp | c1_bkk66_1
#include <bits/stdc++.h>
using namespace std;
int A, B, x;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
cin >> A >> B >> x;
string AB = to_string(A * B);
if (x > AB.size()) {
cout << "_" << endl;
} else {
cout << AB[x - 1] << endl;
}
return 0;
}