Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: maxprogoji

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

Language: cpp

Time: 0.002 second

Submitted On: 2025-10-05 13:10:48

#include <iostream>
using namespace std;
int main(){
    int a, b, x;
    cin >> a >> b >> x;
    a *= b;
    x <= to_string(a).size() ? cout << to_string(a)[x-1] : cout << "_";
}