Submission
Status:
PP--PPPP-P
Subtask/Task Score:
70/100
Score: 70
User: lingusso
Problemset: เลขหลักของผลคูณ
Language: c
Time: 0.002 second
Submitted On: 2025-10-12 15:28:16
#include<stdio.h>
#include<string.h>
int main(){
int a,b,x,r=0;
scanf("%d",&a);
scanf("%d",&b);
scanf("%d",&x);
a *= b;
int n[40];
int row =a;
while(row > 0){
n[r] = row % 10;
row /= 10;
r++;
}
printf("%d",n[r-x]);
return 0;
}