Borderou de evaluare (job #3308239)

Utilizator iordacheMatei Iordache iordache Data 23 august 2025 20:11:02
Problema Macseq Status done
Runda arhiva-vianu Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:68:9: warning: "/*" within comment [-Wcomment] 68 | /*int ans=0; | main.cpp:69:9: warning: "/*" within comment [-Wcomment] 69 | /*ans+=(poz[x][first]-max(l[poz[x][first]],L)+1)*(r[poz[x][first]]-poz[x][first]+1); | main.cpp: In function 'int main()': main.cpp:87:15: error: 'ans' was not declared in this scope; did you mean 'abs'? 87 | cout<<ans<<'\n'; | ^~~ | abs Non zero exit status: 1

Ceva nu functioneaza?