Pagini recente » Cod sursa (job #581925) | Borderou de evaluare (job #1986824) | Borderou de evaluare (job #2254915) | Borderou de evaluare (job #2939234) | Borderou de evaluare (job #1818000)
Borderou de evaluare (job #1818000)
Raport evaluator
Compilare:
user.cpp: In function ‘void refac(int, int, int)’:
user.cpp:15:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i == n)
^
user.cpp:18:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (nr[i+1][j] < k || k - nr[i+1][j] < 0)
^
user.cpp: In function ‘int main()’:
user.cpp:35:31: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(a[i], 0, sizeof(a[i]));
^
user.cpp:36:31: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(s[i], 0, sizeof(s[i]));
^
user.cpp:37:32: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(nr[i], 0, sizeof(nr[i]));
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 436kb | OK | 5 |
| 2 | 96ms | 5304kb | OK | 5 |
| 3 | 196ms | 10508kb | Incorect | 0 |
| 4 | 268ms | Depăşit | Memory limit exceeded. | 0 |
| 5 | 0ms | 440kb | OK | 5 |
| 6 | 8ms | 448kb | OK | 5 |
| 7 | 16ms | 476kb | OK | 5 |
| 8 | 12ms | 516kb | Incorect | 0 |
| 9 | 160ms | 1984kb | Incorect | 0 |
| 10 | 252ms | 3408kb | Incorect | 0 |
| 11 | 340ms | 5312kb | Incorect | 0 |
| 12 | 108ms | 6436kb | Incorect | 0 |
| 13 | 112ms | 6556kb | Incorect | 0 |
| 14 | 384ms | 6672kb | Incorect | 0 |
| 15 | 132ms | 7680kb | Incorect | 0 |
| 16 | 156ms | 9036kb | Incorect | 0 |
| 17 | 564ms | 10516kb | Incorect | 0 |
| 18 | 256ms | 13820kb | Incorect | 0 |
| 19 | 776ms | 15652kb | Incorect | 0 |
| 20 | 328ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 25 |