Submission

Status:

PPPPPPP-PP

Subtask/Task Score:

90/100

Score: 90

User: SonnyHappy108

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

Language: cpp

Time: 0.003 second

Submitted On: 2026-04-16 13:17:39

#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];
}