Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: IIIIIIIIIIII
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.002 second
Submitted On: 2026-10-12 09:48:36
#include <iostream>
using namespace std;
int main(){
int a, b, x;
cin >> a >> b >> x;
a = a*b;
string s = to_string(a);
if(!(isdigit(s[x-1]))) cout << "_";
else cout << s[x-1];
}