Borderou de evaluare (job #635974)

Utilizator avatar Rapies Nechifor Rares-Gabriel Rapies IP ascuns
Problemă Magazin (clasele 8-9) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 26 feb. 2022 09:42:02 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:113:4: error: stray '#' in program 113 | }#include <bits/stdc++.h> | ^ main.cpp: In function 'int main()': main.cpp:113:5: error: 'include' was not declared in this scope 113 | }#include <bits/stdc++.h> | ^~~~~~~ main.cpp:113:14: error: 'bits' was not declared in this scope 113 | }#include <bits/stdc++.h> | ^~~~ main.cpp:113:19: error: 'stdc' was not declared in this scope; did you mean 'std'? 113 | }#include <bits/stdc++.h> | ^~~~ | std main.cpp:114:1: error: expected primary-expression before 'using' 114 | using namespace std; | ^~~~~ main.cpp:129:5: error: invalid declaration of member template in local class 129 | template<class T> | ^~~~~~~~ main.cpp:151:5: error: invalid declaration of member template in local class 151 | template<class T> | ^~~~~~~~ main.cpp:171:5: error: invalid declaration of member template in local class 171 | template<class T> | ^~~~~~~~ main.cpp:186:5: error: invalid declaration of member template in local class 186 | template<class T> | ^~~~~~~~ main.cpp:192:23: error: cannot define friend function 'operator<<' in a local class definition 192 | friend OutParser& operator<<(OutParser& out, const char chr) { | ^~~~~~~~ main.cpp:192:23: error: 'main()::OutParser& main()::OutParser::operator<<(main()::OutParser&, char)' must have exactly one argument main.cpp:197:23: error: cannot define friend function 'operator<<' in a local class definition 197 | friend OutParser& operator<<(OutParser& out, const char* str) { | ^~~~~~~~ main.cpp:197:23: error: 'main()::OutParser& main()::OutParser::operator<<(main()::OutParser&, const char*)' must have exactly one argument main.cpp:204:11: error: redeclaration of 'short int op' 204 | short int op; | ^~ main.cpp:97:13: note: 'short int op' previously declared here 97 | short int op; | ^~ main.cpp:205:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 205 | int main() | ^~ main.cpp:205:9: note: remove parentheses to default-initialize a variable 205 | int main() | ^~ | --