結果
問題 | No.756 チャンパーノウン定数 (1) |
ユーザー |
![]() |
提出日時 | 2020-02-05 21:47:46 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 219 bytes |
コンパイル時間 | 669 ms |
コンパイル使用メモリ | 65,892 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-23 02:37:43 |
合計ジャッジ時間 | 1,459 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include <iostream> #include <string> using namespace std; int main(void) { int n; cin >> n; string s = ""; for (int i = 0; i < 100; ++i) { string t = to_string(i); s += t; } cout << s[n] << endl; return 0; }