Pagini recente » Borderou de evaluare (job #2510478) | Borderou de evaluare (job #2321906) | Borderou de evaluare (job #1600114) | Borderou de evaluare (job #856071) | Borderou de evaluare (job #1762973)
Borderou de evaluare (job #1762973)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:14:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld ", &v[i]);
^
user.cpp:10:21: warning: unused variable ‘x’ [-Wunused-variable]
int i, j, l, n, x, y, d, aux, p1 = 0, p2;
^
user.cpp:10:24: warning: unused variable ‘y’ [-Wunused-variable]
int i, j, l, n, x, y, d, aux, p1 = 0, p2;
^
user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teamwork.in", "r", stdin);
^
user.cpp:9:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teamwork.out", "w", stdout);
^
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:14:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld ", &v[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 0ms | 432kb | Incorect | 0 | 0 |
✗ | 2 | 0ms | 432kb | OK | 10 | 10 |
✗ | 3 | 132ms | 28052kb | Incorect | 0 | 0 |
✗ | 4 | 140ms | 28052kb | Incorect | 0 |
✓ | 5 | 136ms | 28052kb | Incorect | 0 | 0 |
✗ | 6 | 140ms | 28048kb | Incorect | 0 | 0 |
✗ | 7 | 548ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✓ | 8 | 548ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✗ | 9 | 552ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✗ | 10 | 552ms | Depăşit | Memory limit exceeded. | 0 | 0 |
Punctaj total | 10 |