Borderou de evaluare (job #1352139)
Utilizator | Data | 21 februarie 2015 12:04:30 | |
---|---|---|---|
Problema | Por Costel si Perechile | Status | done |
Runda | ONIS 2015, Runda 1 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:7: error: ‘float gamma’ redeclared as different kind of symbol
float gamma = 0.5772156649 * 2 - 1;
^
In file included from /usr/include/features.h:357:0,
from /usr/include/stdio.h:28,
from user.cpp:1:
/usr/include/i386-linux-gnu/bits/mathcalls.h:266:1: error: previous declaration of ‘double gamma(double)’
__MATHCALL (gamma,, (_Mdouble_));
^
user.cpp: In function ‘int main()’:
user.cpp:12:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &t);
^
user.cpp:16:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !