Borderou de evaluare (job #778384)
Utilizator | Data | 14 august 2012 16:40:31 | |
---|---|---|---|
Problema | Algoritmul lui Euclid | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4: error: expected ‘,’ or ‘...’ before ‘a’
user.cpp: In function ‘unsigned int gcd(unsigned int)’:
user.cpp:6: error: ‘a’ was not declared in this scope
user.cpp:6: error: ‘b’ was not declared in this scope
user.cpp: In function ‘int main()’:
user.cpp:4: error: too many arguments to function ‘unsigned int gcd(unsigned int)’
user.cpp:25: error: at this point in file
user.cpp:25: error: invalid conversion from ‘unsigned int’ to ‘const char*’
user.cpp:25: error: initializing argument 1 of ‘int printf(const char*, ...)’
user.cpp:25: warning: format not a string literal and no format arguments
user.cpp:18: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:19: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:24: 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 !