Pagini recente » Borderou de evaluare (job #111356) | Borderou de evaluare (job #1822302) | Borderou de evaluare (job #2576060) | Borderou de evaluare (job #1859227) | Borderou de evaluare (job #1789762)
Borderou de evaluare (job #1789762)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32: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:37: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:37: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:22: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:23: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:29: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:30: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:50: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 |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 360kb | OK | 10 |
4 | 20ms | 656kb | OK | 10 |
5 | 36ms | 1172kb | OK | 10 |
6 | 68ms | 1488kb | OK | 10 |
7 | 104ms | 1740kb | OK | 10 |
8 | 100ms | 1740kb | OK | 10 |
9 | 152ms | 2248kb | OK | 10 |
10 | 152ms | 2252kb | OK | 10 |
Punctaj total | 100 |