Submission

Status:

--x-xx--x---x----x--

Subtask/Task Score:

0/100

Score: 0

User: faofao

Problemset: ปฏิทินวันแม่

Language: cpp

Time: 0.003 second

Submitted On: 2025-10-11 11:29:33

#include <stdio.h>
#include <string.h>
#include <math.h>

int main(){
    int a,b;
    int x;
    scanf("%d %d %d" ,&a,&b,&x);
    long long sum = a*b ;

    char num[999];
    sprintf(num , "%LLd" , sum);
    printf("%d" ,num[x+1]-'0');

    return 0;
}