Pagini recente » Borderou de evaluare (job #1435895) | Borderou de evaluare (job #668107) | Borderou de evaluare (job #1044116) | Borderou de evaluare (job #1505448) | Borderou de evaluare (job #1750464)
Borderou de evaluare (job #1750464)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:111:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(rang[A[i]] > rang[a[i%30]]) a[i%30] = A[i];
^
user.cpp:111:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(rang[A[i]] > rang[a[i%30]]) a[i%30] = A[i];
^
user.cpp:85:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("superbec.in", "r", stdin);
^
user.cpp:86:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("superbec.out", "w", stdout);
^
user.cpp:88:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:104:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n%s", &n, &m, A+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 36ms | 452kb | OK | 10 | 20 |
2 | 44ms | 448kb | OK | 10 |
3 | 428ms | 448kb | OK | 10 | 30 |
4 | 376ms | 452kb | OK | 10 |
5 | 480ms | 456kb | OK | 10 |
6 | 420ms | 452kb | OK | 10 | 20 |
7 | 244ms | 448kb | OK | 10 |
8 | 444ms | 548kb | OK | 10 | 30 |
9 | 488ms | 548kb | OK | 10 |
10 | 488ms | 552kb | OK | 10 |
Punctaj total | 100 |