Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: 38408

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

Language: cpp

Time: 0.004 second

Submitted On: 2026-10-09 11:22:01

#include<bits/stdc++.h>
using namespace std;
int main(){
    int a,b,c;
    string word;
    cin >> a >> b >> c;
    word = to_string(a*b);
    if(c>word.length()){
        cout<<"_";
        return 0 ;
    }
    cout<< word[c-1];
    
}