Borderou de evaluare (job #1300720)

Utilizator MacWonkMihai Alexandru Cosmin MacWonk Data 24 decembrie 2014 19:45:52
Problema Lanterna Status done
Runda tema_vacanta_iarna Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void bfs(int)’: user.cpp:27:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<A[x].size();++i) ^ user.cpp: In function ‘int main()’: user.cpp:64:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=] scanf("%d %d %d %d",a,b,t,w); ^ user.cpp:64:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=] user.cpp:64:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘int’ [-Wformat=] user.cpp:64:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘int’ [-Wformat=] user.cpp:57:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lanterna.in","r",stdin); ^ user.cpp:58:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lanterna.out","w",stdout); ^ user.cpp:59:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&k); ^ user.cpp:60:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=n;++i) scanf("%d",&ally[i]); ^ user.cpp:61:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:64:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d",a,b,t,w); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbKilled by signal 11(SIGSEGV).0
20ms252kbKilled by signal 11(SIGSEGV).0
30ms256kbKilled by signal 11(SIGSEGV).0
40ms256kbKilled by signal 11(SIGSEGV).0
50ms256kbKilled by signal 11(SIGSEGV).0
60ms256kbKilled by signal 11(SIGSEGV).0
70ms260kbKilled by signal 11(SIGSEGV).0
80ms256kbKilled by signal 11(SIGSEGV).0
90ms252kbKilled by signal 11(SIGSEGV).0
100ms252kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?