Borderou de evaluare (job #2218342)
Utilizator | Data | 4 iulie 2018 12:00:45 | |
---|---|---|---|
Problema | Factorial | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:11: error: ‘step’ was not declared in this scope
while(step<n)step<<=1;
^~~~
user.cpp:22:16: error: ‘n’ was not declared in this scope
while(step<n)step<<=1;
^
user.cpp:23:9: error: ‘i’ was not declared in this scope
for(i=0;step;step>>=1)
^
user.cpp:23:13: error: ‘step’ was not declared in this scope
for(i=0;step;step>>=1)
^~~~
user.cpp:30:19: error: ‘i’ was not declared in this scope
while(nr_zero(i)==p && i>=1)
^
user.cpp:33:9: error: ‘ok’ was not declared in this scope
ok=true;
^~
user.cpp:35:5: error: ‘i’ was not declared in this scope
i++;
^
user.cpp:36:8: error: ‘ok’ was not declared in this scope
if(ok==true)g<<i<<'\n';
^~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !