Submission

Status:

----------

Subtask/Task Score:

0/100

Score: 0

User: Poon

Problemset: แปลงเลขฐาน

Language: c

Time: 0.002 second

Submitted On: 2025-09-27 12:48:21

#include <stdio.h>
int main()
{
  int a,b,c;
  char s[20];
  scanf("%d %d %d",&a,&b,&c);
  int d=a*b;
  sprintf(s,"%d",d);
  if(c>strlen(s))
  {
    printf("_");
  }
  else
  {
    printf("%c",s[c-1]);
  }
}