Submission #00124
ソースコード
ステータス
項目 |
データ |
問題 |
0002 - 電子錠システム |
ユーザー名 |
tanco
|
投稿日時 |
2015-12-10 18:28:53 |
言語 |
C++11 |
状態 |
Compile Error |
得点 |
0
|
ソースコード長 |
768 Byte |
最大実行時間 |
-
|
最大メモリ使用量 |
|
コンパイルメッセージ
./Main.cpp: In function ‘int main()’:
./Main.cpp:4:2: error: ‘cin’ is not a member of ‘std’
std::cin >> n;
^
./Main.cpp:7:3: error: ‘cin’ is not a member of ‘std’
std::cin >> u[i];
^
./Main.cpp:11:2: error: ‘cin’ is not a member of ‘std’
std::cin >> m;
^
./Main.cpp:12:22: error: ‘e’ was not declared in this scope
std::vector<char> t(e);
^
./Main.cpp:14:3: error: ‘cin’ is not a member of ‘std’
std::cin >> t[i];
^
./Main.cpp:21:7: error: ‘cout’ is not a member of ‘std’
std::cout << "Opened by " << t[i] << std::endl;
^
./Main.cpp:21:44: error: ‘endl’ is not a member of ‘std’
std::cout << "Opened by " << t[i] << std::endl;
^
./Main.cpp:26:7: error: ‘cout’ is not a member of ‘std’
std::cout << "Closed by " << t[i] << std::endl;
^
./Main.cpp:26:44: error: ‘endl’ is not a member of ‘std’
std::cout << "Closed by " << t[i] << std::endl;
^
./Main.cpp:32:6: error: ‘cout’ is not a member of ‘std’
std::cout << "Unknown " << t[i] << std::endl;
^
./Main.cpp:32:41: error: ‘endl’ is not a member of ‘std’
std::cout << "Unknown " << t[i] << std::endl;
^
./Main.cpp:37:16: error: ‘system’ was not declared in this scope
system("pause");
^
セット
テストケース