Pagini recente » Borderou de evaluare (job #571832) | Borderou de evaluare (job #2810194) | Borderou de evaluare (job #1094857) | Borderou de evaluare (job #682150) | Borderou de evaluare (job #1748433)
Borderou de evaluare (job #1748433)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:105: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:105: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:79: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:80: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:82:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:98: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 | 512ms | 448kb | Incorect | 0 | 0 |
✗ | 4 | 376ms | 448kb | Incorect | 0 |
✓ | 5 | 520ms | 448kb | Incorect | 0 |
✓ | 6 | 560ms | 448kb | OK | 10 | 0 |
✗ | 7 | 296ms | 444kb | Incorect | 0 |
✗ | 8 | 760ms | 544kb | OK | 10 | 30 |
✗ | 9 | 752ms | 544kb | OK | 10 |
✓ | 10 | 752ms | 548kb | OK | 10 |
Punctaj total | 50 |