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