Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: helloskibidi
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.004 second
Submitted On: 2026-10-04 22:41:25
#include <bits/stdc++.h>
using namespace std;
int main(){
long long a, b;
int x;
cin >> a >> b >> x;
string rem = to_string(a*b);
if (x < 1 || x > (int)rem.length()) cout << '_';
else cout << rem[x-1];
}