Borderou de evaluare (job #1036298)

Utilizator DemnokStefan Demnok Data 19 noiembrie 2013 10:18:16
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:17:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&n,&m); ^ user.cpp:17:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:24:35: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld%ld",&x,&y,&z); ^ user.cpp:24:35: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:24:35: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp: In function ‘void afisare()’: user.cpp:65:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld ",d[i]); ^ user.cpp: In function ‘void dijkstra()’: user.cpp:49:20: warning: ‘jm’ may be used uninitialized in this function [-Wmaybe-uninitialized] S[jm]=1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK10
20ms260kbIncorect0
312ms3024kbIncorect0
424ms4144kbIncorect0
58ms6044kbKilled by signal 11(SIGSEGV).0
68ms6044kbKilled by signal 11(SIGSEGV).0
78ms6044kbKilled by signal 11(SIGSEGV).0
88ms6048kbKilled by signal 11(SIGSEGV).0
98ms6048kbKilled by signal 11(SIGSEGV).0
108ms6044kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?