Borderou de evaluare (job #1816345)

Utilizator silkMarin Dragos silk Data 26 noiembrie 2016 13:05:18
Problema Superstring Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void Check()’: user.cpp:77:51: warning: array subscript has type ‘char’ [-Wchar-subscripts] x = ( ( x * 47 - B[ i-A[0] ] * pwrP[ A[0] ] ) % P + P + B[i] ) % P; ^ user.cpp:78:51: warning: array subscript has type ‘char’ [-Wchar-subscripts] y = ( ( y * 47 - B[ i-A[0] ] * pwrQ[ A[0] ] ) % Q + Q + B[i] ) % Q; ^ user.cpp: In function ‘int main()’: user.cpp:88:9: warning: unused variable ‘i’ [-Wunused-variable] int i,N,T; ^ user.cpp:88:11: warning: unused variable ‘N’ [-Wunused-variable] int i,N,T; ^ user.cpp: In function ‘void Read(char*)’: user.cpp:31:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(S,NMax-1,stdin); ^ user.cpp: In function ‘int main()’: user.cpp:85:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("superstring.in","r",stdin); ^ user.cpp:86:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("superstring.out","w",stdout); ^ user.cpp:91:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&T); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1112ms10032kbIncorect0
Punctaj total0

Ceva nu functioneaza?