Submission
Status:
P------P--
Subtask/Task Score:
20/100
Score: 20
User: Visaaxolotl
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.002 second
Submitted On: 2026-10-09 11:10:06
#include <bits/stdc++.h>
using namespace std;
int main(){
long long a,b; cin >> a >> b;
long long x = a*b;
int d; cin >> d;
d-=1;
while (d--){
x/=10;
}
cout << x%10;
}