結果
| 問題 | No.756 チャンパーノウン定数 (1) | 
| コンテスト | |
| ユーザー |  SSRS | 
| 提出日時 | 2022-04-23 16:19:26 | 
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 13 ms / 2,000 ms | 
| コード長 | 193 bytes | 
| コンパイル時間 | 1,818 ms | 
| コンパイル使用メモリ | 194,580 KB | 
| 最終ジャッジ日時 | 2025-01-28 21:12:37 | 
| ジャッジサーバーID (参考情報) | judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 20 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
  int D;
  cin >> D;
  string S;
  int x = 1;
  while (S.size() < D){
    S += to_string(x);
    x++;
  }
  cout << S[D - 1] << endl;
}
            
            
            
        