Submission
Status:
----------
Subtask/Task Score:
0/100
Score: 0
User: kiattisaksanburee
Problemset: แปลงเลขฐาน
Language: cpp
Time: 0.002 second
Submitted On: 2025-09-09 12:25:16
#include <iostream>
#include <string>
using namespace std;
int main() {
int A, B, n;
cin >> A >> B >> n;
n = n-1;
int num = A*B;
string s = to_string(num);
int l = s.length();
if (n < l) {
cout << s[n];
} else {
cout << "_";
}
return 0;
}