Pagini recente » Borderou de evaluare (job #972871) | Borderou de evaluare (job #515311) | Borderou de evaluare (job #2292419) | Borderou de evaluare (job #2288690) | Borderou de evaluare (job #1817193)
Borderou de evaluare (job #1817193)
Raport evaluator
Compilare:
user.cpp: In function ‘bool is_good(int)’:
user.cpp:35:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a = ( a * 67 + ch[ s[i] ] ) % P;
^
user.cpp:36:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b = ( b * 67 + ch[ s[i] ] ) % Q;
^
user.cpp:37:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c = ( c * 67 + ch[ s[i] ] ) % K;
^
user.cpp:44:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a = ( 1LL * ( a - ch[ s[i-f] ] * pwrP[f-1] + 70*P ) * 67 + ch[ s[i] ] ) % P;
^
user.cpp:44:77: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a = ( 1LL * ( a - ch[ s[i-f] ] * pwrP[f-1] + 70*P ) * 67 + ch[ s[i] ] ) % P;
^
user.cpp:45:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b = ( 1LL * ( b - ch[ s[i-f] ] * pwrQ[f-1] + 70*Q ) * 67 + ch[ s[i] ] ) % Q;
^
user.cpp:45:77: warning: array subscript has type ‘char’ [-Wchar-subscripts]
b = ( 1LL * ( b - ch[ s[i-f] ] * pwrQ[f-1] + 70*Q ) * 67 + ch[ s[i] ] ) % Q;
^
user.cpp:46:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c = ( 1LL * ( c - ch[ s[i-f] ] * pwrK[f-1] + 70*K ) * 67 + ch[ s[i] ] ) % K;
^
user.cpp:46:77: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c = ( 1LL * ( c - ch[ s[i-f] ] * pwrK[f-1] + 70*K ) * 67 + ch[ s[i] ] ) % K;
^
user.cpp: In function ‘int main()’:
user.cpp:64:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.in","r",stdin);
^
user.cpp:65:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.out","w",stdout);
^
user.cpp:69:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&N,&T);
^
user.cpp:70:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,NMax,stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 80ms | 668kb | OK | 10 |
2 | 80ms | 664kb | OK | 10 |
3 | 80ms | 664kb | OK | 10 |
4 | 16ms | 516kb | OK | 10 |
5 | 68ms | 648kb | OK | 10 |
6 | 72ms | 652kb | OK | 10 |
7 | 0ms | 472kb | OK | 10 |
8 | 0ms | 480kb | OK | 10 |
9 | 0ms | 472kb | OK | 10 |
10 | 60ms | 616kb | OK | 10 |
Punctaj total | 100 |