結果
問題 | No.756 チャンパーノウン定数 (1) |
ユーザー |
|
提出日時 | 2018-12-04 00:04:06 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 191 bytes |
コンパイル時間 | 769 ms |
コンパイル使用メモリ | 68,196 KB |
最終ジャッジ日時 | 2025-01-06 18:06:24 |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include <iostream>int main(){std::string s;for(int i = 1; i < 100; i++){s += std::to_string(i);}int n;std::cin >> n;std::cout << s[n-1]<<std::endl;return 0;}