Submission

Status:

PPP-PPPP-P

Subtask/Task Score:

80/100

Score: 80

User: matcherbrainner

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

Language: cpp

Time: 0.004 second

Submitted On: 2026-10-03 15:25:54

#include<bits/stdc++.h>
using namespace std;
int main(){
	long long a,b,x;
	cin>>a>>b>>x;
	string k=to_string(a*b);
	if(k[x-1]>0){
			cout<<k[x-1];
	}
	else{
		cout<<"_";
	}
}