結果
問題 |
No.756 チャンパーノウン定数 (1)
|
ユーザー |
![]() |
提出日時 | 2019-08-15 13:29:17 |
言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 244 bytes |
コンパイル時間 | 590 ms |
コンパイル使用メモリ | 120,960 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-30 14:30:35 |
合計ジャッジ時間 | 1,601 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 8 WA * 12 |
ソースコード
#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"; }