Untitled
user_5668965
c_cpp
a year ago
197 B
11
Indexable
#include<bits/stdc++.h>
using namespace std;
#define ll long long int
int main()
{
ll t,n;
string ref;
for(i=1;i<=1000;i++) ref+=to_string(i);
cin>>n; cout<<ref[n-1];
}Editor is loading...
Leave a Comment