Borderou de evaluare (job #1418094)
Utilizator | Data | 11 aprilie 2015 21:42:52 | |
---|---|---|---|
Problema | ProDiv | Status | done |
Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:14:18: error: size of array ‘zz’ is too large
int zz[1000002203];
^
user.cpp: In function ‘long long unsigned int fact(long long int)’:
user.cpp:24:5: error: ‘zz’ was not declared in this scope
zz[2] = nr;}
^
user.cpp:32:13: error: ‘zz’ was not declared in this scope
zz[i] = nr;
^
user.cpp:35:30: error: ‘zz’ was not declared in this scope
ans.push_back(x),zz[x]++;}
^
user.cpp: In function ‘int main()’:
user.cpp:58:17: error: ‘zz’ was not declared in this scope
if (zz[ans[i]] > 1) ok1=1;
^
user.cpp:59:17: error: ‘zz’ was not declared in this scope
if (zz[ans[i]] % 2 == 0 ){
^
user.cpp:50:11: warning: unused variable ‘max’ [-Wunused-variable]
ll x, max=0,mk=1;
^
user.cpp:50:17: warning: unused variable ‘mk’ [-Wunused-variable]
ll x, max=0,mk=1;
^
user.cpp:54:8: warning: unused variable ‘d’ [-Wunused-variable]
ll d;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !