Borderou de evaluare (job #134760)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | GPS | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 18 mar. 2015 17:55:58 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:34:5: error: redefinition of ‘int n’
user.cpp:15:19: error: ‘int n’ previously declared here
user.cpp: In function ‘bool cmp1(const Point&, const Point&)’:
user.cpp:38:33: error: expected primary-expression before ‘)’ token
user.cpp: In function ‘void normalizare()’:
user.cpp:43:34: error: ‘sort’ was not declared in this scope
user.cpp:46:32: error: ‘cmp2’ was not declared in this scope
user.cpp: In function ‘int main()’:
user.cpp:73:60: error: ‘maxim’ was not declared in this scope
user.cpp:75:51: error: ‘minim’ was not declared in this scope
user.cpp:76:13: error: ‘sol’ was not declared in this scope
user.cpp:79:5: error: ‘sol’ was not declared in this scope
user.cpp:56:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:60:56: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp: In function ‘bool cmp1(const Point&, const Point&)’:
user.cpp:39:1: warning: control reaches end of non-void function [-Wreturn-type]