Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: Quinruj
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.002 second
Submitted On: 2025-10-05 20:52:41
#include <bits/stdc++.h>
#define ll long long
using namespace std;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll a,b;cin>>a>>b;
ll x;cin>>x;
string s = to_string(a*b);
if (x <= s.size()) cout << s[x-1];
else cout << '_';
}