Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: Phat12

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

Language: cpp

Time: 0.002 second

Submitted On: 2025-08-28 07:21:50

#include <bits/stdc++.h>
using namespace std;

int main() {
	int a,b,x;
	cin >> a >> b >> x;
	string c = to_string(a*b);
	if (x>c.size()){
	    cout << "_";
	}
	else cout << c[x-1];

}