結果
問題 | No.597 concat |
ユーザー | hanorver |
提出日時 | 2017-11-25 11:21:00 |
言語 | C++14 (gcc 12.3.0 + boost 1.83.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 288 bytes |
コンパイル時間 | 713 ms |
コンパイル使用メモリ | 78,588 KB |
実行使用メモリ | 4,504 KB |
最終ジャッジ日時 | 2023-08-18 06:28:02 |
合計ジャッジ時間 | 1,520 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | WA | - |
コンパイルメッセージ
main.cpp: 関数 ‘int main()’ 内: main.cpp:17:32: 警告: ‘n’ is used uninitialized [-Wuninitialized] 17 | for (size_t i = 0; i < n; i++) | ^ main.cpp:14:13: 備考: ‘n’ はここで定義されています 14 | int n; | ^
ソースコード
#include <iostream> #include <string> #include <vector> #include <algorithm> #include <map> #include <stack> #include <cmath> #include <queue> #include <numeric> int main() { int n; std::string s; for (size_t i = 0; i < n; i++) { std::cin >> s; std::cout << s; } return 0; }