Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: SonnyHappy108

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

Language: cpp

Time: 0.002 second

Submitted On: 2026-04-11 10:11:49

#include <bits/stdc++.h>
using namespace std;
//done : 0
int main(){
	int i,j;
	long long A,B,x;
	cin >> A >> B >> x;
	string C=to_string(A*B);
	if (C.length()<x){
		cout << '_';
	}
	else{
		cout << C[x-1];
	}
}