Submission

Status:

Compilation Error

Subtask/Task Score:

Score: 0

User: Qwedsazxc

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

Language: cpp

Time: 0.000 second

Submitted On: 2025-10-06 15:43:13

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

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

	return 0;
}