Borderou de evaluare (job #3279222)

Utilizator FlaviuuuFlaviu Flaviuuu Data 22 februarie 2025 10:48:44
Problema Dreptunghi2 Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void solve()': main.cpp:19:21: error: no match for 'operator[]' (operand types are 'std::pair<double, double>' and 'int') 19 | minx = min(a[i].first, minx); | ^ main.cpp:20:21: error: no match for 'operator[]' (operand types are 'std::pair<double, double>' and 'int') 20 | maxx = max(a[i].first, maxx); | ^ main.cpp:21:21: error: no match for 'operator[]' (operand types are 'std::pair<double, double>' and 'int') 21 | miny = min(a[i].second, miny); | ^ main.cpp:22:21: error: no match for 'operator[]' (operand types are 'std::pair<double, double>' and 'int') 22 | maxy = max(a[i].second, maxy); | ^ main.cpp:13:12: warning: unused variable 'ans' [-Wunused-variable] 13 | double ans = 0.000; | ^~~ Non zero exit status: 1

Ceva nu functioneaza?