Borderou de evaluare (job #735520)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Geometrie (clasa a 8-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 3 oct. 2023 21:27:04 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:38:13: warning: unused variable 'sqd' [-Wunused-variable]
38 | int sqd;
| ^~~
main.cpp:77:17: error: 'mid' was not declared in this scope
77 | mid[{1.0 * (v[i].first+v[j].first) / 2, 1.0 * (v[i].second+v[j].second) / 2}]++;
| ^~~
main.cpp:80:21: error: 'mid' was not declared in this scope
80 | for(auto it=mid.begin();it!=mid.end();it++)
| ^~~