Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: winwin1054
Problemset: เลขหลักของผลคูณ
Language: c
Time: 0.001 second
Submitted On: 2026-03-27 13:12:44
#include <stdio.h>
#include <string.h>
int main() {
int a,b,x,total;
char str[20];
scanf("%d %d %d",&a,&b,&x);
total = a*b;
sprintf(str,"%d",total);
if(x>strlen(str)||x==0) printf("_");
else printf("%c",str[x-1]);
}