Borderou de evaluare (job #2198303)
Utilizator | Data | 24 aprilie 2018 10:33:42 | |
---|---|---|---|
Problema | Statistici de ordine | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void partitie3(int, int, int&, int&)’:
user.cpp:14:24: error: invalid operands of types ‘int() throw ()’ and ‘int’ to binary ‘operator%’
int pivot=v[st+rand%(dr-st+1)],i=st;
~~~~^~~~~~~~~~
user.cpp:17:11: error: ‘i’ was not declared in this scope
while(i<=u)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !