結果

問題 No.756 チャンパーノウン定数 (1)
ユーザー ゆるく
提出日時 2018-12-08 20:43:02
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 387 bytes
コンパイル時間 865 ms
コンパイル使用メモリ 82,072 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-14 08:33:36
合計ジャッジ時間 1,759 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<algorithm>
#include<string>
#include<map>
#include<cmath>
#include<vector>
#include<queue>
#include<set>
#include<stdio.h>
using namespace std;
 
#define REP(i, x, n) for(int i = x; i < n; i++)
#define rep(i,n) REP(i,0,n)
#define INF 1<<25
 
int main()
{
	int n;
	cin >> n;
	string s;
	rep(i, 101) {
		s += to_string(i);
	}
	cout << s[n] << endl;
	return 0;
}
0