Pagini recente » Borderou de evaluare (job #1424321) | Borderou de evaluare (job #1636916) | Borderou de evaluare (job #2872918) | Borderou de evaluare (job #1607966) | Borderou de evaluare (job #1748435)
Borderou de evaluare (job #1748435)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:107: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:107: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:81: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:82: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:84:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:100: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 | 448kb | OK | 10 | 20 |
✓ | 2 | 44ms | 452kb | OK | 10 |
✗ | 3 | 512ms | 452kb | Incorect | 0 | 0 |
✗ | 4 | 376ms | 452kb | Incorect | 0 |
✓ | 5 | 520ms | 452kb | Incorect | 0 |
✓ | 6 | 564ms | 452kb | OK | 10 | 0 |
✗ | 7 | 296ms | 452kb | Incorect | 0 |
✗ | 8 | 796ms | 548kb | OK | 10 | 0 |
✗ | 9 | 800ms | 544kb | OK | 10 |
✓ | 10 | Depăşit | 528kb | Time limit exceeded. | 0 |
Punctaj total | 20 |