Borderou de evaluare (job #1636642)

Utilizator horiainfoTurcuman Horia horiainfo Data 7 martie 2016 11:20:39
Problema Avioane2 Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void bfs()’: user.cpp:32:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<nod[aux2.nod].zb.size();i++) ^ user.cpp: In function ‘int main()’: user.cpp:48:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d",&n,&m,&k); ^ user.cpp:48:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:48:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:51:72: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d%d%d",&a,&aux.tdec,&aux.dest,&aux.tater,&aux.price); ^ user.cpp:57:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&x,&y); ^ user.cpp:57:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:59:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;j<nod[x].lst.size();j++) ^ user.cpp:47:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("avioane2.in","r",stdin); ^ user.cpp:48:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&m,&k); ^ user.cpp:51:73: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d",&a,&aux.tdec,&aux.dest,&aux.tater,&aux.price); ^ user.cpp:57:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1384ms6088kbOK10100
2192ms3536kbOK10
3172ms3936kbOK10
4396ms6332kbOK10
5388ms6332kbOK10
6408ms6244kbOK10
7388ms6332kbOK10
8408ms6332kbOK10
9400ms6068kbOK10
10408ms6336kbOK10
Punctaj total100

Ceva nu functioneaza?