Pagini recente » Borderou de evaluare (job #979654) | Borderou de evaluare (job #62196) | Borderou de evaluare (job #963931) | Borderou de evaluare (job #962338) | Borderou de evaluare (job #1748437)
Borderou de evaluare (job #1748437)
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 | 456kb | OK | 10 | 20 |
✓ | 2 | 44ms | 452kb | OK | 10 |
✗ | 3 | 536ms | 456kb | OK | 10 | 30 |
✗ | 4 | 396ms | 448kb | OK | 10 |
✓ | 5 | 592ms | 452kb | OK | 10 |
✓ | 6 | 572ms | 452kb | OK | 10 | 20 |
✗ | 7 | 332ms | 456kb | OK | 10 |
✗ | 8 | 792ms | 552kb | OK | 10 | 30 |
✗ | 9 | 792ms | 552kb | OK | 10 |
✓ | 10 | 796ms | 544kb | OK | 10 |
Punctaj total | 100 |