Borderou de evaluare (job #1789664)

Utilizator silkMarin Dragos silk Data 27 octombrie 2016 13:01:56
Problema Dinti Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

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:83: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
10ms272kbOK10
20ms276kbOK10
34ms376kbOK10
424ms680kbOK10
576ms1216kbOK10
6Depăşit1748kbTime limit exceeded.0
7Depăşit2256kbTime limit exceeded.0
8Depăşit2260kbTime limit exceeded.0
9Depăşit3276kbTime limit exceeded.0
10Depăşit3276kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?