Pagini recente » Borderou de evaluare (job #2670090) | Borderou de evaluare (job #849662) | Borderou de evaluare (job #2924886) | Borderou de evaluare (job #3263568) | Borderou de evaluare (job #1196083)
Borderou de evaluare (job #1196083)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld%ld",&n,&d);
^
user.cpp:13:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:15:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&v[i]);
^
user.cpp:25:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld\n",sol);
^
user.cpp:11:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("slidingwindow.in","r",stdin);
^
user.cpp:12:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("slidingwindow.out","w",stdout);
^
user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&n,&d);
^
user.cpp:15: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 |
✗ | 1 | 0ms | 3372kb | OK | 5 |
✓ | 2 | 0ms | 3380kb | OK | 5 |
✗ | 3 | 0ms | 3380kb | OK | 5 |
✗ | 4 | 436ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 5 | 396ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 6 | 396ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 7 | 396ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 8 | 436ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 9 | 400ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 10 | 396ms | Depăşit | Memory limit exceeded. | 0 |
✓ | 11 | 396ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 12 | 396ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 13 | 396ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 14 | 396ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 15 | 396ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 16 | 396ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 17 | 396ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 18 | 396ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 19 | 0ms | 3368kb | OK | 5 |
✗ | 20 | 436ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 20 |