Borderou de evaluare (job #979074)
Utilizator | Data | 31 iulie 2013 14:59:22 | |
---|---|---|---|
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:11:15: error: ‘n’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:13:5: error: ‘x’ was not declared in this scope
if(x>y) swap(y,x);
^
user.cpp:13:7: error: ‘y’ was not declared in this scope
if(x>y) swap(y,x);
^
user.cpp:14:8: error: ‘x’ was not declared in this scope
while(x){
^
user.cpp:15: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 !