제출 #853153

#제출 시각아이디문제언어결과실행 시간메모리
853153shiv_213Tracks in the Snow (BOI13_tracks)C++98
컴파일 에러
0 ms0 KiB
#inclde<iostream> using namespace std; int main (){ cout<<"Shiva"<<endl; return 0; }

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

tracks.cpp:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
    1 | #inclde<iostream>
      |  ^~~~~~
      |  include
tracks.cpp: In function 'int main()':
tracks.cpp:4:3: error: 'cout' was not declared in this scope
    4 |   cout<<"Shiva"<<endl;
      |   ^~~~
tracks.cpp:1:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
  +++ |+#include <iostream>
    1 | #inclde<iostream>
tracks.cpp:4:18: error: 'endl' was not declared in this scope
    4 |   cout<<"Shiva"<<endl;
      |                  ^~~~
tracks.cpp:1:1: note: 'std::endl' is defined in header '<ostream>'; did you forget to '#include <ostream>'?
  +++ |+#include <ostream>
    1 | #inclde<iostream>