Submission
Status:
PP--PPPP-P
Subtask/Task Score:
70/100
Score: 70
User: limsan20122
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.003 second
Submitted On: 2025-10-01 11:46:52
#include <iostream>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
unsigned long long int x=0;
unsigned long long int y=0;
unsigned long long int z=0;
unsigned long long int b=0;
string a;
cin >> x >> y >> b;;
z=(x*y);
a=to_string(z);
cout << a[b-1];
return 0;
}