Submission

Status:

PP--PPPP-P

Subtask/Task Score:

70/100

Score: 70

User: andamanlnwza007

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

Language: cpp

Time: 0.003 second

Submitted On: 2025-10-02 14:57:45

#include <iostream>
#include <algorithm>
#include <string>
using namespace std;
int  main(){
	int n=0, A,B,x,sum;
	cin>>A>>B>>x;
	sum=A*B;
	string rsum = to_string(sum);
	cout<<rsum[x-1];
}