Borderou de evaluare (job #1295906)

Utilizator geniucosOncescu Costin geniucos Data 20 decembrie 2014 13:43:34
Problema Nr Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:42:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] a=(s2[v1][j]+j*( s1[v1][b-1]-s1[v1][j] ) ) %mod; ^ user.cpp:42:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] a=(s2[v1][j]+j*( s1[v1][b-1]-s1[v1][j] ) ) %mod; ^ user.cpp:42:45: warning: array subscript has type ‘char’ [-Wchar-subscripts] a=(s2[v1][j]+j*( s1[v1][b-1]-s1[v1][j] ) ) %mod; ^ user.cpp:47:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] s1[v2][j]=s1[v2][j-1]+a; ^ user.cpp:47:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] s1[v2][j]=s1[v2][j-1]+a; ^ user.cpp:48:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] s2[v2][j]=s2[v2][j-1]+a*j; ^ user.cpp:48:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] s2[v2][j]=s2[v2][j-1]+a*j; ^ user.cpp:49:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] ref (s1[v2][j]); ^ user.cpp:50:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] ref (s2[v2][j]); ^ user.cpp:15:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nr.in","r",stdin); ^ user.cpp:16:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nr.out","w",stdout); ^ user.cpp:18:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:19:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbOK10
2Depăşit276kbTime limit exceeded.0
3Depăşit272kbTime limit exceeded.0
4Depăşit280kbTime limit exceeded.0
5Depăşit276kbTime limit exceeded.0
6Depăşit276kbTime limit exceeded.0
7152ms292kbOK10
860ms292kbOK10
98ms276kbOK10
100ms284kbOK10
Punctaj total50

Ceva nu functioneaza?