Borderou de evaluare (job #2930607)

Utilizator DariusM17Murgoci Darius DariusM17 Data 28 octombrie 2022 21:26:32
Problema Liste Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:6:1: error: expected ',' or ';' before 'bitset' 6 | bitset <130> num,st[100001] ; | ^~~~~~ main.cpp: In function 'int main()': main.cpp:13:16: error: 'num' was not declared in this scope; did you mean 'enum'? 13 | fin>>q,num=0 ; | ^~~ | enum main.cpp:19:31: error: 'st' was not declared in this scope; did you mean 'std'? 19 | while(top>0 && (num & st[top])!=0) num|=st[top],top-- ; | ^~ | std main.cpp:20:9: error: 'st' was not declared in this scope; did you mean 'std'? 20 | st[++top]=num ; | ^~ | std Non zero exit status: 1

Ceva nu functioneaza?