Submission

Status:
PP--PPPP-P

Score: 70

User: exoworldgd

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

Language: cpp

Time: 0.002 second

Submitted On: 2024-11-12 22:24:57

#include <iostream>
#include <string>
using namespace std;
int main(void) {
	int n,m,re,pos;
	cin >> n >> m >> pos;
	string a;
	re = n*m;
	a = to_string(re);
	cout << a[pos-1];
}