Borderou de evaluare (job #1721441)

Utilizator ioana_ionita97Ioana Ionita ioana_ionita97 Data 25 iunie 2016 17:45:14
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:13: error: ‘x’ was not declared in this scope if(a<b){x=a;y=b;} ^ user.cpp:11:17: error: ‘y’ was not declared in this scope if(a<b){x=a;y=b;} ^ user.cpp:13:6: error: ‘x’ was not declared in this scope {x=b;y=a;} ^ user.cpp:13:10: error: ‘y’ was not declared in this scope {x=b;y=a;} ^ user.cpp:14:7: error: ‘y’ was not declared in this scope r=y%x; ^ user.cpp:14:9: error: ‘x’ was not declared in this scope r=y%x; ^

Ceva nu functioneaza?