結果
| 問題 |
No.756 チャンパーノウン定数 (1)
|
| コンテスト | |
| ユーザー |
seriru13
|
| 提出日時 | 2018-12-25 22:28:58 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 274 bytes |
| コンパイル時間 | 890 ms |
| コンパイル使用メモリ | 65,524 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-01 13:33:53 |
| 合計ジャッジ時間 | 1,689 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
#include <string>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
int d;
cin >> d;
string s;
for (int i = 1; i < 100; ++i) {
int t = i;
string a = to_string(t);
s += a;
}
cout << s[d-1] << endl;
}
seriru13