Borderou de evaluare (job #2269757)

Utilizator adimiclaus15Miclaus Adrian Stefan adimiclaus15 Data 26 octombrie 2018 15:52:31
Problema Dreptunghiuri3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:8:1: error: 'unordered_map' does not name a type unordered_map <int,bool>appx,appy; ^~~~~~~~~~~~~ main.cpp:9:1: error: 'unordered_map' does not name a type unordered_map <int,int>mx,my,linie,coloana; ^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:23:12: error: 'appx' was not declared in this scope if(appx[a[i].x1]==0) ^~~~ main.cpp:29:12: error: 'appx' was not declared in this scope if(appx[a[i].x2]==0) ^~~~ main.cpp:35:12: error: 'appx' was not declared in this scope if(appx[a[i].x2+1]==0) ^~~~ main.cpp:41:12: error: 'appy' was not declared in this scope if(appy[a[i].y1]==0) ^~~~ main.cpp:47:12: error: 'appy' was not declared in this scope if(appy[a[i].y2]==0) ^~~~ main.cpp:53:12: error: 'appy' was not declared in this scope if(appy[a[i].y2+1]==0) ^~~~ main.cpp:64:9: error: 'mx' was not declared in this scope mx[x[i]]=i; ^~ main.cpp:65:9: error: 'linie' was not declared in this scope linie[i]=x[i]; ^~~~~ main.cpp:69:9: error: 'my' was not declared in this scope my[y[i]]=i; ^~ main.cpp:70:9: error: 'coloana' was not declared in this scope coloana[i]=y[i]; ^~~~~~~ main.cpp:72:5: error: 'linie' was not declared in this scope linie[nrx+1]=linie[nrx]+1; ^~~~~ main.cpp:73:5: error: 'coloana' was not declared in this scope coloana[nry+1]=coloana[nry]+1; ^~~~~~~ main.cpp:76:12: error: 'mx' was not declared in this scope i1=mx[a[i].x1]; ^~ main.cpp:77:12: error: 'my' was not declared in this scope j1=my[a[i].y1]; ^~ Non zero exit status: 1

Ceva nu functioneaza?