Borderou de evaluare (job #1917824)
Utilizator | Data | 9 martie 2017 13:13:48 | |
---|---|---|---|
Problema | Costuri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:17:1: error: expected initializer before ‘struct’
struct K{
^
user.cpp:19:3: error: ‘cs’ does not name a type
} cs[Nmax];
^
user.cpp:26:8: error: ‘ll’ does not name a type
inline ll prod_cifre(int x)
^
user.cpp: In function ‘int Exista(int)’:
user.cpp:35:12: error: ‘cs’ was not declared in this scope
if(cs[i].pcif == x) return i;
^
user.cpp: In function ‘int BS(int)’:
user.cpp:47:12: error: ‘cs’ was not declared in this scope
if(cs[mij].pcif == k) return mij;
^
user.cpp: In function ‘void QuickSort(int, int)’:
user.cpp:81:15: error: ‘cs’ was not declared in this scope
while(cs[i].pcif < cs[pivot].pcif) ++i;
^
user.cpp:82:15: error: ‘cs’ was not declared in this scope
while(cs[j].pcif > cs[pivot].pcif) --j;
^
user.cpp:85:18: error: ‘cs’ was not declared in this scope
swap(cs[i],cs[j]);
^
user.cpp: In function ‘void afisare_vector()’:
user.cpp:114:15: error: ‘cs’ was not declared in this scope
fout<<cs[i].pcif<<" "<<cs[i].ct<<"\n";
^
user.cpp: In function ‘int main()’:
user.cpp:124:32: error: ‘prod_cifre’ was not declared in this scope
int P = prod_cifre(a[i]);
^
user.cpp:130:13: error: ‘cs’ was not declared in this scope
cs[nc].pcif = P;
^
user.cpp:136:15: error: ‘cs’ was not declared in this scope
++cs[poz].ct;
^
user.cpp:148:5: error: ‘ll’ was not declared in this scope
ll P,C,poz;
^
user.cpp:148:8: error: expected ‘;’ before ‘P’
ll P,C,poz;
^
user.cpp:152:14: error: ‘P’ was not declared in this scope
fin>>P>>C;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !