Pagini recente » Borderou de evaluare (job #1696847) | Borderou de evaluare (job #2833256) | Borderou de evaluare (job #2920409) | Borderou de evaluare (job #753277) | Borderou de evaluare (job #1311566)
Borderou de evaluare (job #1311566)
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:29:21: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int x,y,diff,sh,k,t;
^
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 | 256kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 660ms | 420kb | OK | 10 |
4 | 620ms | 272kb | OK | 10 |
5 | 100ms | Depăşit | Memory limit exceeded. | 0 |
6 | 60ms | Depăşit | Memory limit exceeded. | 0 |
7 | 748ms | 1024kb | OK | 10 |
8 | 748ms | 1024kb | OK | 10 |
9 | 756ms | 1024kb | OK | 10 |
10 | 760ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 70 |