Pagini recente » Borderou de evaluare (job #1719559) | Borderou de evaluare (job #1444930) | Borderou de evaluare (job #292356) | Borderou de evaluare (job #817229) | Borderou de evaluare (job #1816416)
Borderou de evaluare (job #1816416)
Raport evaluator
Compilare:
user.cpp: In function ‘void Check()’:
user.cpp:77:51: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x = ( ( x * 29 - 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 * 29 - 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,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 |
1 | 116ms | 10036kb | Incorect | 0 |
Punctaj total | 0 |