結果
問題 | No.756 チャンパーノウン定数 (1) |
ユーザー |
![]() |
提出日時 | 2018-12-30 13:57:40 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 464 bytes |
コンパイル時間 | 861 ms |
コンパイル使用メモリ | 94,300 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-07 05:03:51 |
合計ジャッジ時間 | 1,729 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include <iostream> #include <string> #include <vector> #include <set> #include <cmath> #include <stack> #include <algorithm> #include <iomanip> #include <map> #include <queue> #include <functional> #include <numeric> using ll = long long; using namespace std; const ll MOD = 1e9 + 7; int main(void) { int D; cin >> D; string t = ""; for (int i = 0; i <= 100; ++i) { t += to_string(i); } cout << t[D] << endl; return 0; }