Submission

Status:

PP--PPP--P

Subtask/Task Score:

60/100

Score: 60

User: Folk_DIWA

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

Language: cpp

Time: 0.004 second

Submitted On: 2026-10-12 22:40:30

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

using ll = long long;

int main(){
    cin.tie(0)->sync_with_stdio(0);

    ll a,b,c;
    cin >> a >> b >> c;

    string s = to_string(a*b);
    c;

    if(s.size() > c) cout << s[c-1];
    // else cout << '_';
    

    return 0;
}