Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: Qwedsazxc

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

Language: cpp

Time: 0.003 second

Submitted On: 2025-10-06 15:43:36

#include <bits/stdc++.h>
using namespace std;

int main() {
	long long a, b, x;cin>> a>> b>> x;
	string c= to_string(a* b);
	if(x> c.length()) {
		cout<< "_";
		return 0;
	}
	cout<< c[x- 1];

	return 0;
}