Borderou de evaluare (job #1016399)
| Utilizator | Data | 26 octombrie 2013 10:46:24 | |
|---|---|---|---|
| Problema | Suma si numarul divizorilor | Status | done |
| Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
for(i=2;i=n;i++)
^
user.cpp:26:6: error: ‘z’ was not declared in this scope
f>>z[i];
^
user.cpp:37:8: error: ‘z’ was not declared in this scope
if(v[z[i]]==0)
^
user.cpp:39:4: error: ‘c’ was not declared in this scope
c=2*i;
^
user.cpp:54:8: error: ‘z’ was not declared in this scope
if(v[z[i]]==1)
^
user.cpp:21:9: warning: unused variable ‘x’ [-Wunused-variable]
long n,x,s,nr,v[100],i,max;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
