Borderou de evaluare (job #1369012)
Utilizator | Data | 2 martie 2015 21:08:00 | |
---|---|---|---|
Problema | Reuniune | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:20: error: ‘long long int y1’ redeclared as different kind of symbol
long long x1,x2,x3,y1,y2,y3,X1,X2,X3,Y1,Y2,Y3;
^
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:243:1: error: previous declaration of ‘double y1(double)’
__MATHCALL (y1,, (_Mdouble_));
^
user.cpp: In function ‘int main()’:
user.cpp:36:7: error: assignment of function ‘double y1(double)’
y1=arie(1,A);
^
user.cpp:36:7: error: cannot convert ‘long long int’ to ‘double(double)throw ()’ in assignment
user.cpp:45:33: error: invalid operands of types ‘long long int’ and ‘double(double)throw ()’ to binary ‘operator-’
printf("%lld %lld",x1+x2+x3-y1-y2,X1+X2+X3-Y1-Y2);
^
user.cpp:25:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reuniune.in","r",stdin);
^
user.cpp:26:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reuniune.out","w",stdout);
^
user.cpp:29:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&a[i][j]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !