Submission

Status:

PP--PPPP-P

Subtask/Task Score:

70/100

Score: 70

User: KurtCobain

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

Language: cpp

Time: 0.002 second

Submitted On: 2025-10-03 12:48:59

#include <iostream>
#include <string>
using namespace std;


int main(){
     long long a,b;
     int x;
     cin >> a >> b >> x;
     long long total= a * b;
     string answer = to_string(total);
     cout << answer[x-1];
}