Submission
Status:
P------P--
Subtask/Task Score:
20/100
Score: 20
User: letdown
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.002 second
Submitted On: 2025-10-08 16:28:24
#include <stdio.h>
int main() {
unsigned long long a, b, x, l=0;
scanf("%llu%llu%llu", &a, &b, &x);
char ans[100000];
sprintf(ans, "%llu", a*b);
while (ans[l] != '\0') l++;
printf("%c", ans[l-x]);
}