Borderou de evaluare (job #979073)
Utilizator | Data | 31 iulie 2013 14:58:06 | |
---|---|---|---|
Problema | Algoritmul lui Euclid | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:15: error: ‘n’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:12:5: error: ‘x’ was not declared in this scope
if(x>y) swap(y,x);
^
user.cpp:12:7: error: ‘y’ was not declared in this scope
if(x>y) swap(y,x);
^
user.cpp:13:8: error: ‘x’ was not declared in this scope
while(x){
^
user.cpp:14:5: error: ‘y’ was not declared in this scope
r=y%x;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !