제출 #1103707

#제출 시각아이디문제언어결과실행 시간메모리
1103707ortsacPolitical Development (BOI17_politicaldevelopment)C++17
컴파일 에러
0 ms0 KiB
#include <iostream> using naemspace std; int main() { cout << "hey!\n"; }

컴파일 시 표준 에러 (stderr) 메시지

politicaldevelopment.cpp:3:7: error: expected nested-name-specifier before 'naemspace'
    3 | using naemspace std;
      |       ^~~~~~~~~
politicaldevelopment.cpp: In function 'int main()':
politicaldevelopment.cpp:6:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   cout << "hey!\n";
      |   ^~~~
      |   std::cout
In file included from politicaldevelopment.cpp:1:
/usr/include/c++/10/iostream:61:18: note: 'std::cout' declared here
   61 |   extern ostream cout;  /// Linked to standard output
      |                  ^~~~