Submission

Status:

PP--PPPP-P

Subtask/Task Score:

70/100

Score: 70

User: limsan20122

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

Language: cpp

Time: 0.002 second

Submitted On: 2025-09-30 16:20:16

#include <iostream>
using namespace std;

int main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    unsigned long long int x=0;
    unsigned long long int y=0;
    unsigned long long int z=0;
    unsigned long long int a=0;
    string b;
    cin >> x >> y >> z;; 
    a=(x*y);
    b=to_string(a);
    cout << b[z-1];
    return 0;
}