Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: picture
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.002 second
Submitted On: 2026-10-12 10:11:41
#include<bits/stdc++.h>
using namespace std;
int main(){
long long a, b, x;
cin >> a >> b >> x;
string s = to_string(a * b);
if(x >= 1 && x <= (long long)s.size())
cout << s[x-1];
else
cout << "_";
}