Pagini recente » Borderou de evaluare (job #2934819) | Borderou de evaluare (job #488402) | Borderou de evaluare (job #635037) | Borderou de evaluare (job #2375720) | Borderou de evaluare (job #1734923)
Borderou de evaluare (job #1734923)
Raport evaluator
Compilare:
user.cpp: In function ‘void Solve()’:
user.cpp:61:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
alfa = ( alfa + rest[ s[i] ][N-i-1] ) % M;
^
user.cpp:67:93: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for( temp = xpn = 0, j = N - i - 1; j >= 0; --j, ++xpn ) temp = ( temp + rest[ s[j] ][xpn] ) % M;
^
user.cpp:72:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
temp = ( temp - rest[ s[j] ][xpn] + rest[ s[j+i] ][xpn] + M ) % M;
^
user.cpp:72:62: warning: array subscript has type ‘char’ [-Wchar-subscripts]
temp = ( temp - rest[ s[j] ][xpn] + rest[ s[j+i] ][xpn] + M ) % M;
^
user.cpp: In function ‘void Read()’:
user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&M);
^
user.cpp:15:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&go);
^
user.cpp:16:32: 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:84:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("div.in","r",stdin);
^
user.cpp:85:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("div.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 52ms | 460kb | OK | 10 |
2 | 36ms | 460kb | OK | 10 |
3 | 64ms | 460kb | OK | 10 |
4 | 16ms | 468kb | OK | 10 |
5 | 48ms | 468kb | OK | 10 |
6 | 0ms | 468kb | OK | 10 |
7 | 0ms | 468kb | OK | 10 |
8 | 28ms | 468kb | OK | 10 |
9 | 0ms | 468kb | OK | 10 |
10 | 0ms | 464kb | OK | 10 |
Punctaj total | 100 |