Borderou de evaluare (job #1839390)
Utilizator | Data | 2 ianuarie 2017 20:59:16 | |
---|---|---|---|
Problema | Secv7 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:37: error: ‘int j1’ redeclared as different kind of symbol
int N,maxim,rez1,rez2,rez3,i1,i2,i3,j1,j2,j3,tmpmax;
^
In file included from /usr/include/features.h:357:0,
from /usr/include/i386-linux-gnu/c++/4.8/bits/os_defines.h:39,
from /usr/include/i386-linux-gnu/c++/4.8/bits/c++config.h:420,
from /usr/include/c++/4.8/cstdio:41,
from user.cpp:1:
/usr/include/i386-linux-gnu/bits/mathcalls.h:240:1: error: previous declaration of ‘double j1(double)’
__MATHCALL (j1,, (_Mdouble_));
^
user.cpp: In function ‘int main()’:
user.cpp:24:15: error: assignment of function ‘double j1(double)’
j1=i;
^
user.cpp:24:15: error: cannot convert ‘int’ to ‘double(double)throw ()’ in assignment
user.cpp:49:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘double (*)(double)throw ()’ [-Wformat=]
fprintf(g,"%d\n%d %d",rez1,i1,j1);
^
user.cpp:10:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&N);
^
user.cpp:13:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&V[i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !