Borderou de evaluare (job #1487554)
Utilizator | Data | 16 septembrie 2015 23:47:50 | |
---|---|---|---|
Problema | Algoritmul lui Euclid | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:21: error: ‘b’ has not been declared
int cmmdc(int a,int,b)
^
user.cpp: In function ‘int cmmdc(int, int, int)’:
user.cpp:6:8: error: ‘b’ was not declared in this scope
while(b)
^
user.cpp: In function ‘int main()’:
user.cpp:17:2: error: ‘cin’ was not declared in this scope
cin>>n;
^
user.cpp:21:3: error: ‘cout’ was not declared in this scope
cout<<cmmdc(a,b)<<"\n";
^
user.cpp:21:18: error: too few arguments to function ‘int cmmdc(int, int, int)’
cout<<cmmdc(a,b)<<"\n";
^
user.cpp:3:5: note: declared here
int cmmdc(int a,int,b)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !