Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: limsan20122
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.002 second
Submitted On: 2025-11-01 11:05:30
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
unsigned long long int x=0,y=0,z=0,a=0;
string b;
cin >> x >> y >> z;
a=x*y;
b=to_string(a);
if(b.size()<z){
cout << "_";
return 0;
}
cout << b[z-1];
return 0;
}