結果
| 問題 |
No.756 チャンパーノウン定数 (1)
|
| ユーザー |
stone_725
|
| 提出日時 | 2019-08-15 13:29:58 |
| 言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 245 bytes |
| コンパイル時間 | 740 ms |
| コンパイル使用メモリ | 120,064 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-30 14:31:04 |
| 合計ジャッジ時間 | 1,532 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main(){
int n;
cin >> n;
string checkstr = "";
for(int i = 0; checkstr.size() <= n; i++){
checkstr += to_string(i);
}
cout << checkstr[n] << "\n";
}
stone_725