Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: mameeewin

Problemset: เลขหลักของผลคูณ

Language: cpp

Time: 0.005 second

Submitted On: 2026-10-09 20:11:08

#include <iostream>
#include <string>
using namespace std;

int main(){
  int a, b, x; cin >> a >> b >> x;
  string s=to_string(a*b);
  cout << (x>s.length()?'_':s[x-1]);
}