Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: Yowaine
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.002 second
Submitted On: 2026-06-07 20:59:11
/*
TASK: c1_bkk66_1
LANG: C++
AUTHOR: Yowaine
*/
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define all(x) x.begin() , x.end()
#define newline cout << "\n"
int main(){
ios_base::sync_with_stdio(false); cin.tie(0);
cout.tie(0);
int a , b , x;
cin >> a >> b >> x;
string s = to_string(a * b);
if (s.size() >= x)cout << s[x - 1] << "\n";
else cout << "_\n";
return 0;
}