Borderou de evaluare (job #3234739)

Utilizator bent_larsenSturzu Antonio-Gabriel bent_larsen Data 11 iunie 2024 15:40:35
Problema Albinuta Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:69:22: error: base operand of '->' has non-pointer type 'std::pair<const int, int>' 69 | if(it->first > last) | ^~ main.cpp:70:31: error: base operand of '->' has non-pointer type 'std::pair<const int, int>' 70 | ans[it->second] = index + ((it->first - i) % cycle); | ^~ main.cpp:70:55: error: base operand of '->' has non-pointer type 'std::pair<const int, int>' 70 | ans[it->second] = index + ((it->first - i) % cycle); | ^~ Non zero exit status: 1

Ceva nu functioneaza?