Submission

Status:

----------

Subtask/Task Score:

0/100

Score: 0

User: picture

Problemset: ตัวอักษรตัวแรกในคำ

Language: cpp

Time: 0.002 second

Submitted On: 2026-10-12 10:11:05

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

int main(){
    long long a, b, x;
    cin >> a >> b >> x;

    string s = to_string(a * b);

    if(x >= 1 && x <= (long long)s.size())
        cout << s[x-1];
    else
        cout << "_";
}