Borderou de evaluare (job #690247)
Utilizator | Data | 25 februarie 2012 14:00:01 | |
---|---|---|---|
Problema | Algoritmul lui Euclid extins | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6: error: expected identifier before ‘&’ token
user.cpp:6: error: expected identifier before ‘&’ token
user.cpp: In function ‘long int cmmdc(long int, long int, int&, int&)’:
user.cpp:13: error: invalid initialization of reference of type ‘int&’ from expression of type ‘long int’
user.cpp:6: error: in passing argument 3 of ‘long int cmmdc(long int, long int, int&, int&)’
user.cpp: In function ‘int main()’:
user.cpp:26: error: expected initializer before ‘:’ token
user.cpp:35: error: ‘i’ was not declared in this scope
user.cpp:37: error: ‘a’ was not declared in this scope
user.cpp:37: error: ‘b’ was not declared in this scope
user.cpp:37: error: ‘c’ was not declared in this scope
user.cpp:39: error: ‘X’ was not declared in this scope
user.cpp:39: error: ‘Y’ was not declared in this scope
user.cpp:42: error: ‘print’ was not declared in this scope
user.cpp:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !