Borderou de evaluare (job #1908295)

Utilizator sandupetrascoPetrasco Sandu sandupetrasco Data 7 martie 2017 00:21:13
Problema Omogene Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld %ld", &n, &m); ^ user.cpp:27:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:31:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld", &a[i][j]); ^ user.cpp:60:21: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld", rs); ^ user.cpp:27:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld", &n, &m); ^ user.cpp:31:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld", &a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms472kbIncorect0
20ms476kbIncorect0
30ms472kbIncorect0
40ms472kbIncorect0
50ms476kbIncorect0
60ms476kbIncorect0
70ms472kbIncorect0
80ms468kbIncorect0
90ms472kbIncorect0
100ms476kbIncorect0
Punctaj total0

Ceva nu functioneaza?