Submission
Status:
PP--PPPP-P
Subtask/Task Score:
70/100
Score: 70
User: IIIIIIIIIIII
Problemset: เลขหลักของผลคูณ
Language: cpp
Time: 0.004 second
Submitted On: 2026-10-12 09:31:22
#include <iostream>
using namespace std;
int main(){
int a, b, x;
cin >> a >> b >> x;
a = a*b;
string s = to_string(a);
if(s[x-1] == ' ') cout << " ";
else cout << s[x-1];
}