Borderou de evaluare (job #1635997)

Utilizator hegedusPaul Hegedus hegedus Data 6 martie 2016 21:34:43
Problema Biperm Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 35

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long unsigned int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:19:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long unsigned int*’ [-Wformat=] scanf("%d",&b[x][y]); ^ user.cpp:72:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("%d %d\n",nrperm,minim); ^ user.cpp:72:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] user.cpp:83:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("%d ",b[1][x]); ^ user.cpp:87:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("%d ",b[2][x]); ^ user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("biperm.in","r",stdin); ^ user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("biperm.out","w",stdout); ^ user.cpp:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:19:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&b[x][y]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms480kbCorect10
20ms492kbCerintele 1 si 3 corecte9
30ms516kbCerintele 1 si 2 corecte4
40ms536kbCerinta 3 corecta6
50ms856kbCerinta 1 corecta3
60ms1244kbIncorect0
70ms1660kbCerinta 1 corecta3
84ms2092kbIncorect0
952msDepăşitMemory limit exceeded.0
1052msDepăşitMemory limit exceeded.0
Punctaj total35

Ceva nu functioneaza?