Submission

Status:

PP--PPPP-P

Subtask/Task Score:

70/100

Score: 70

User: TheRealN

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

Language: cpp

Time: 0.005 second

Submitted On: 2026-10-12 13:13:47

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

int main() {
	int A, B, x;
	string s;
	
	cin >> A >> B >> x;
	
	s = to_string(A * B);
	
	cout << s[x - 1];
	return 0;
}