Borderou de evaluare (job #1789658)

Utilizator silkMarin Dragos silk Data 27 octombrie 2016 12:53:53
Problema Dinti Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:34:51: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(v = i = 0; i < L; ++i) v = v + opus[ A[i] ] * doi[L-1-i]; ^ user.cpp:39:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] v = v * 2 - opus[ A[i-1] ] * doi[L] + opus[ A[i+L-1] ]; ^ user.cpp:39:62: warning: array subscript has type ‘char’ [-Wchar-subscripts] v = v * 2 - opus[ A[i-1] ] * doi[L] + opus[ A[i+L-1] ]; ^ user.cpp:24:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dinti.in","r",stdin); ^ user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dinti.out","w",stdout); ^ user.cpp:31:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n",&N,&M,&L); ^ user.cpp:32:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets( A,NMax-1,stdin ); ^ user.cpp:78:32: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets( B,LMax-1,stdin ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOK10
20ms284kbOK10
34ms380kbOK10
448ms688kbOK10
5Depăşit1204kbTime limit exceeded.0
6Depăşit1752kbTime limit exceeded.0
7Depăşit2264kbTime limit exceeded.0
8Depăşit2260kbTime limit exceeded.0
9Depăşit3280kbTime limit exceeded.0
10Depăşit3284kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?