Submission

Status:

--PP----P-

Subtask/Task Score:

30/100

Score: 30

User: Some1258

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

Language: cpp

Time: 0.003 second

Submitted On: 2026-07-20 08:20:09

#include<bits/stdc++.h>
using namespace std;
int main(){
    int x,y;
    cin>>x>>y;
    int z=(x*y);
    string t=to_string(z);
    int a;
    cin>>a;
    if(a>t.length()){
        cout<<"_";
        return 0;
    }

    cout<<t;
    cout<<t[a-1];
}