Submission
Status:
PP--PPPP-P
Subtask/Task Score:
70/100
Score: 70
User: chillxvtkz
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.002 second
Submitted On: 2026-10-07 11:55:16
#include <bits/stdc++.h>
#define ll long long
#define ct cout << ' '
#define el cout << endl;
using namespace std;
const int mx = 1e9;
const int mn = -1e9;
string str;
ll a,b,x,s;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cin >> a >> b >> x;
s= a*b;
str = to_string(s);
cout << str[x-1];
return 0;
}