Borderou de evaluare (job #1036297)

Utilizator DemnokStefan Demnok Data 19 noiembrie 2013 10:16:27
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
10ms240kbOK10
20ms240kbIncorect0
30ms240kbKilled by signal 11(SIGSEGV).0
40ms236kbKilled by signal 11(SIGSEGV).0
50ms236kbKilled by signal 11(SIGSEGV).0
60ms236kbKilled by signal 11(SIGSEGV).0
70ms240kbKilled by signal 11(SIGSEGV).0
80ms236kbKilled by signal 11(SIGSEGV).0
90ms236kbKilled by signal 11(SIGSEGV).0
100ms236kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?