Submission
Status:
PPPPPPP-PP
Subtask/Task Score:
90/100
Score: 90
User: faofao
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.002 second
Submitted On: 2026-08-17 19:20:32
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main(){
ios::sync_with_stdio(),cin.tie(0);
ll x,y;cin>>x>>y;
ll c;cin>>c;
ll n=x*y;
string s = to_string(n);
if(c>=s.size()){
cout << "_";
}
else cout << s[c-1];
}