Pagini recente » Borderou de evaluare (job #3248833) | Borderou de evaluare (job #1663654) | Borderou de evaluare (job #781586) | Borderou de evaluare (job #2844409) | Borderou de evaluare (job #1311564)
Borderou de evaluare (job #1311564)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.in","r",stdin);
^
user.cpp:16:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.out","w",stdout);
^
user.cpp:20:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:23:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
user.cpp:32:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
user.cpp:51:51: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n",max(rmq[k][x],rmq[k][x+sh]) );
^
user.cpp:34:9: warning: ‘l’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (l != lg[y - x + 1]) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 656ms | 420kb | OK | 10 |
4 | 628ms | 276kb | OK | 10 |
5 | 96ms | Depăşit | Memory limit exceeded. | 0 |
6 | 60ms | Depăşit | Memory limit exceeded. | 0 |
7 | 752ms | Depăşit | Memory limit exceeded. | 0 |
8 | 752ms | Depăşit | Memory limit exceeded. | 0 |
9 | 756ms | Depăşit | Memory limit exceeded. | 0 |
10 | 744ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 40 |