Borderou de evaluare (job #1008648)
Utilizator | Data | 11 octombrie 2013 14:54:12 | |
---|---|---|---|
Problema | Fear | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int BF()’:
user.cpp:16:29: error: ‘memset’ was not declared in this scope
memset(viz,0,sizeof(viz));
^
user.cpp:7:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define sz size()
^
user.cpp:23:26: note: in expansion of macro ‘sz’
for(j=0;j<G[nod].sz;j++)
^
user.cpp: In function ‘int main()’:
user.cpp:41:33: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 4 has type ‘int*’ [-Wformat=]
scanf("%d%d%lf",&x,&y,&z),
^
user.cpp:7:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define sz size()
^
user.cpp:45:20: note: in expansion of macro ‘sz’
for(i=0;i<G[N].sz;i++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !