Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: SonnyHappy108

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

Language: cpp

Time: 0.003 second

Submitted On: 2026-04-16 13:19:26

#include <iostream>
using namespace std;
//2
int main(){
	int a,b,x;
	cin >> a >> b >> x;
	string c = to_string(a*b);
	if(x>c.length()){
		cout << '_';
		return 0;
	}
	cout << c[x-1];
}