Submission

Status:

PP--PPPP-P

Subtask/Task Score:

70/100

Score: 70

User: Sol2468

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

Language: cpp

Time: 0.003 second

Submitted On: 2026-10-14 01:08:58

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

int a ;
int b ;
int ind ;

int main(){
    ios_base::sync_with_stdio(false) ;
    cin.tie(NULL ) ;
    cin >> a >> b >> ind ;
    int time = a*b ;
    string c = to_string(time) ;
    cout << c[ind-1] ;
    return 0 ;
}