Borderou de evaluare (job #1222082)
Utilizator | Data | 22 august 2014 10:50:42 | |
---|---|---|---|
Problema | Flori2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool egal(double, double)’:
user.cpp:17:12: error: ‘EPS’ was not declared in this scope
if(x + EPS >= y && y + Eps >= x)
^
user.cpp: In function ‘int main()’:
user.cpp:37:13: error: ‘Nr’ was not declared in this scope
Nr = 0;
^
user.cpp:43:44: error: too few arguments to function ‘bool egal(double, double)’
if(egal(Sol[j] - Sol[j - 1]))
^
user.cpp:16:13: note: declared here
inline bool egal(double x, double y){
^
user.cpp:23:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori2.in", "r", stdin);
^
user.cpp:24:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori2.out", "w", stdout);
^
user.cpp:25:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:28:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:31:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &A, &B);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !