运行 ID: 101546

Main.cc: In function ‘int main()’:
Main.cc:6:2: error: ‘cin’ was not declared in this scope
  cin >> a >> b >> c;
  ^~~
Main.cc:6:2: note: suggested alternative:
In file included from Main.cc:1:0:
/usr/include/c++/7/iostream:60:18: note:   ‘std::cin’
   extern istream cin;  /// Linked to standard input
                  ^~~
Main.cc:7:2: error: ‘lst’ was not declared in this scope
  lst[0] = a;
  ^~~
Main.cc:10:2: error: ‘sort’ was not declared in this scope
  sort(lst,lst+3);
  ^~~~
Main.cc:10:2: note: suggested alternative:
In file included from /usr/include/c++/7/algorithm:62:0,
                 from Main.cc:2:
/usr/include/c++/7/bits/stl_algo.h:4856:5: note:   ‘std::sort’
     sort(_RandomAccessIterator __first, _RandomAccessIterator __last,
     ^~~~
Main.cc:11:2: error: ‘cout’ was not declared in this scope
  cout << lst[0] << ' ' << lst[1] << ' ' << lst[2];
  ^~~~
Main.cc:11:2: note: suggested alternative:
In file included from Main.cc:1:0:
/usr/include/c++/7/iostream:61:18: note:   ‘std::cout’
   extern ostream cout;  /// Linked to standard output
                  ^~~~