Borderou de evaluare (job #1616402)

Utilizator calin1Serban Calin calin1 Data 27 februarie 2016 11:07:04
Problema Colaj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:21:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=] scanf("%d %d\n",&m,&n); ^ user.cpp:21:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] user.cpp:27:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] x[l2]=a1; ^ user.cpp:28:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] y[l2]=b1; ^ user.cpp:33:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[l1].nr=a1; ^ user.cpp: In function ‘void bordare()’: user.cpp:92:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[i][l2]=1; ^ user.cpp: In function ‘void citire()’: user.cpp:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&w); ^ user.cpp:21:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&m,&n); ^ user.cpp:26:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d\n",&a1,&b1,&a2,&b2); ^ user.cpp: In function ‘int main()’: user.cpp:114:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("colaj.in","r",stdin); ^ user.cpp:115:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("colaj.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms460kbIncorect0
2Depăşit460kbTime limit exceeded.0
30ms512kbOK10
40ms520kbOK10
5Depăşit460kbTime limit exceeded.0
6Depăşit456kbTime limit exceeded.0
7Depăşit456kbTime limit exceeded.0
80msDepăşitMemory limit exceeded.0
9Depăşit456kbTime limit exceeded.0
100ms444kbOK10
Punctaj total30

Ceva nu functioneaza?