Borderou de evaluare (job #1282038)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 3 decembrie 2014 22:00:59
Problema Lacusta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void Read()’: user.cpp:16:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d", &M, &N); ^ user.cpp:16:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:19:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d", &A[i][j]); ^ user.cpp: In function ‘void Solve()’: user.cpp:27:13: warning: large integer implicitly truncated to unsigned type [-Woverflow] B[1][1] = 100000; ^ user.cpp: In function ‘void Read()’: user.cpp:16:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &M, &N); ^ user.cpp:19:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &A[i][j]); ^ user.cpp: In function ‘void Solve()’: user.cpp:51:40: warning: ‘j1’ may be used uninitialized in this function [-Wmaybe-uninitialized] B[i][j] = Min2 + A[i][j]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
112ms484kbOK1030
28ms448kbOK10
30ms296kbOK10
40ms300kbOK1030
50ms348kbOK10
60ms320kbOK10
70ms284kbOK1040
80ms336kbOK10
90ms352kbOK10
1012ms468kbOK10
Punctaj total100

Ceva nu functioneaza?