Borderou de evaluare (job #3176742)

Utilizator cristiosmCristian Magureanu cristiosm Data 27 noiembrie 2023 18:22:37
Problema Cablaj Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:104:22: error: stray '#' in program 104 | return 1;#include <iostream> | ^ main.cpp: In function 'int main()': main.cpp:104:23: error: 'include' was not declared in this scope 104 | return 1;#include <iostream> | ^~~~~~~ main.cpp:104:40: error: expected primary-expression before '>' token 104 | return 1;#include <iostream> | ^ In file included from /usr/include/c++/12.2.1/bits/locale_facets_nonio.h:39, from /usr/include/c++/12.2.1/locale:41, from /usr/include/c++/12.2.1/iomanip:43, from main.cpp:109: /usr/include/c++/12.2.1/ctime:58:1: error: expected primary-expression before 'namespace' 58 | namespace std | ^~~~~~~~~ /usr/include/c++/12.2.1/ctime:77:1: error: 'namespace' definition is not allowed here 77 | namespace std | ^~~~~~~~~ In file included from /usr/include/c++/12.2.1/iostream:38, from main.cpp:1: /usr/include/c++/12.2.1/bits/locale_facets_nonio.h:41:15: error: expected '=' before '__attribute__' 41 | namespace std _GLIBCXX_VISIBILITY(default) | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/locale_facets_nonio.h:41:15: error: expected identifier before '__attribute__' /usr/include/c++/12.2.1/bits/locale_facets_nonio.h:41:14: error: expected ';' before '__attribute__' 41 | namespace std _GLIBCXX_VISIBILITY(default) | ^ | ; /usr/include/c++/12.2.1/bits/locale_facets_nonio.h:42:1: error: expected primary-expression before '{' token 42 | { | ^ /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/time_members.h:37:15: error: expected '=' before '__attribute__' 37 | namespace std _GLIBCXX_VISIBILITY(default) | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/time_members.h:37:15: error: expected identifier before '__attribute__' In file included from /usr/include/c++/12.2.1/bits/locale_facets_nonio.h:352: /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/time_members.h:37:14: error: expected ';' before '__attribute__' 37 | namespace std _GLIBCXX_VISIBILITY(default) | ^ | ; /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/time_members.h:38:1: error: expected primary-expression before '{' token 38 | { | ^ /usr/include/c++/12.2.1/bits/locale_facets_nonio.h:354:15: error: expected '=' before '__attribute__' 354 | namespace std _GLIBCXX_VISIBILITY(default) | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/locale_facets_nonio.h:354:15: error: expected identifier before '__attribute__' /usr/include/c++/12.2.1/bits/locale_facets_nonio.h:354:14: error: expected ';' before '__attribute__' Non zero exit status: 1

Ceva nu functioneaza?