Submission #1103707

#TimeUsernameProblemLanguageResultExecution timeMemory
1103707ortsacPolitical Development (BOI17_politicaldevelopment)C++17
Compilation error
0 ms0 KiB
#include <iostream> using naemspace std; int main() { cout << "hey!\n"; }

Compilation message (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
      |                  ^~~~