Borderou de evaluare (job #1006010)
Utilizator | Data | 6 octombrie 2013 07:43:41 | |
---|---|---|---|
Problema | Matrice3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:14: error: ‘unsigned int y1’ redeclared as different kind of symbol
unsigned x1, y1, x2, y2;
^
In file included from /usr/include/features.h:346:0,
from /usr/local/include/c++/4.8.0/i686-pc-linux-gnu/bits/os_defines.h:39,
from /usr/local/include/c++/4.8.0/i686-pc-linux-gnu/bits/c++config.h:420,
from /usr/local/include/c++/4.8.0/cstdio:41,
from user.cpp:1:
/usr/include/bits/mathcalls.h:242:1: error: previous declaration of ‘double y1(double)’
__MATHCALL (y1,, (_Mdouble_));
^
user.cpp: In function ‘void read()’:
user.cpp:16:10: error: assignment of function ‘double y1(double)’
x1=x2=y1=y2=0;
^
user.cpp:16:10: error: cannot convert ‘unsigned int’ to ‘double(double)throw ()’ in assignment
user.cpp:20:35: error: invalid operands of types ‘int’ and ‘double(double)throw ()’ to binary ‘operator*’
for(;*p>='0'&&*p<='9';p++) y1=10*y1+int(*p-'0');p++;
^
user.cpp: In function ‘void init()’:
user.cpp:29:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(k=1;(1<<k)<=m;k++)
^
user.cpp:31:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1;i<=n;i++)
^
user.cpp:33:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=1;j+(1<<k)-1<=m;j++)
^
user.cpp:40:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(k=1;(1<<k)<=n;k++)
^
user.cpp:42:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1;i+(1<<k)-1<=n;i++)
^
user.cpp:44:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=1;j<=m;j++)
^
user.cpp:51:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(p=1;(1<<p)<=n;p++)
^
user.cpp:53:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(k=1;(1<<k)<=m;k++)
^
user.cpp:55:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1;i+(1<<p)-1<=n;i++)
^
user.cpp:57:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=1;j+(1<<k)-1<=m;j++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !