Borderou de evaluare (job #1979660)

Utilizator andreiutu111Noroc Andrei Mihail andreiutu111 Data 10 mai 2017 23:51:44
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:8:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d",&N); ^ user.cpp:11:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d",&v[i][j]); ^ user.cpp:30:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n",u[i]); ^ user.cpp:6: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:7: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:8:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&N); ^ user.cpp:11: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ăşit4176kbTime limit exceeded.0
20ms512kbOK10
30ms752kbOK10
44ms1068kbOK10
5Depăşit8084kbTime limit exceeded.0
6Depăşit6332kbTime limit exceeded.0
7Depăşit8088kbTime limit exceeded.0
8Depăşit8080kbTime limit exceeded.0
9Depăşit7984kbTime limit exceeded.0
10Depăşit8084kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?