Blyninė

Taškai: 0

Compile: FAIL

blynine.cpp:3:26: warning: extra tokens at end of #include directive 3 | #include <bits/stdc++.h> using namespace std; | ^~~~~ blynine.cpp: In function ‘int main()’: blynine.cpp:5:1: error: ‘ios_base’ has not been declared 5 | ios_base::sync_with_stdio(false); cin.tie(nullptr); | ^~~~~~~~ blynine.cpp:5:35: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’? 5 | ios_base::sync_with_stdio(false); cin.tie(nullptr); | ^~~ | std::cin In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:75, from blynine.cpp:3: /usr/include/c++/11/iostream:60:18: note: ‘std::cin’ declared here 60 | extern istream cin; /// Linked to standard input | ^~~ blynine.cpp:8:1: error: ‘stack’ was not declared in this scope; did you mean ‘std::stack’? 8 | stack<string> pile; | ^~~~~ | std::stack In file included from /usr/include/c++/11/stack:61, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:89, from blynine.cpp:3: /usr/include/c++/11/bits/stl_stack.h:99:11: note: ‘std::stack’ declared here 99 | class stack | ^~~~~ blynine.cpp:8:7: error: ‘string’ was not declared in this scope; did you mean ‘std::string’? 8 | stack<string> pile; | ^~~~~~ | std::string In file included from /usr/include/c++/11/iosfwd:39, from /usr/include/c++/11/ios:38, from /usr/include/c++/11/istream:38, from /usr/include/c++/11/sstream:38, from /usr/include/c++/11/complex:45, from /usr/include/c++/11/ccomplex:39, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54, from blynine.cpp:3: /usr/include/c++/11/bits/stringfwd.h:79:33: note: ‘std::string’ declared here 79 | typedef basic_string<char> string; | ^~~~~~ blynine.cpp:8:15: error: ‘pile’ was not declared in this scope; did you mean ‘pipe’? 8 | stack<string> pile; | ^~~~ | pipe blynine.cpp:10:7: error: expected ‘;’ before ‘type’ 10 | string type; | ^~~~~ | ; blynine.cpp:11:8: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 11 | cin >> type; | ^~~~ | wctype blynine.cpp:13:5: error: ‘type’ was not declared in this scope; did you mean ‘wctype’? 13 | if (type | ^~~~ | wctype blynine.cpp:16:7: error: expected ‘;’ before ‘word’ 16 | string word; | ^~~~~ | ; blynine.cpp:17:8: error: ‘word’ was not declared in this scope 17 | cin >> word; | ^~~~ blynine.cpp:21:1: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’? 21 | cout<<"\n"; | ^~~~ | std::cout In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:75, from blynine.cpp:3: /usr/include/c++/11/iostream:61:18: note: ‘std::cout’ declared here 61 | extern ostream cout; /// Linked to standard output | ^~~~ blynine.cpp:23:1: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’? 23 | cout<<< pile.top() << "\n"; pile.pop(); | ^~~~ | std::cout In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:75, from blynine.cpp:3: /usr/include/c++/11/iostream:61:18: note: ‘std::cout’ declared here 61 | extern ostream cout; /// Linked to standard output | ^~~~ blynine.cpp:23:7: error: expected primary-expression before ‘<’ token 23 | cout<<< pile.top() << "\n"; pile.pop(); | ^ blynine.cpp:25:2: error: expected ‘}’ at end of input 25 | } | ^ blynine.cpp:4:12: note: to match this ‘{’ 4 | int main() { | ^

nr.resulttimemessage