Borderou de evaluare (job #1979646)

Utilizator andreiutu111Noroc Andrei Mihail andreiutu111 Data 10 mai 2017 23:05:06
Problema Custi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

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 int*’ [-Wformat=] scanf("%d",&N); ^ user.cpp:19:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf("%d",&v[i][j]); ^ user.cpp:29:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n",u[i]); ^ user.cpp:14:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("custi.in","r",stdin); ^ user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("custi.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",&v[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit740kbTime limit exceeded.0
20ms308kbOK10
30ms332kbOK10
44ms372kbOK10
5Depăşit1220kbTime limit exceeded.0
6Depăşit1008kbTime limit exceeded.0
7Depăşit1220kbTime limit exceeded.0
8Depăşit1228kbTime limit exceeded.0
9Depăşit1220kbTime limit exceeded.0
10Depăşit1224kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?