Pagini recente » Borderou de evaluare (job #2454088) | Borderou de evaluare (job #1309062) | Borderou de evaluare (job #885267) | Borderou de evaluare (job #1515710) | Borderou de evaluare (job #1503969)
Borderou de evaluare (job #1503969)
Raport evaluator
Compilare:
user.cpp: In function ‘void heapdown(int)’:
user.cpp:32:36: warning: unused variable ‘p’ [-Wunused-variable]
else if (x*2+1<=n && y>z) {int p=z; bool st=false;}
^
user.cpp:32:46: warning: unused variable ‘st’ [-Wunused-variable]
else if (x*2+1<=n && y>z) {int p=z; bool st=false;}
^
user.cpp: In function ‘int main()’:
user.cpp:50:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heapuri.in","r",stdin);
^
user.cpp:51:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heapuri.out","w",stdout);
^
user.cpp:52:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:55:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p);
^
user.cpp:58:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:66:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x); k=poz[x];
^
user.cpp: In function ‘void heapdown(int)’:
user.cpp:33:5: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (a[h[x]]>p)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 288kb | OK | 10 | 10 |
2 | 0ms | 288kb | Incorect | 0 | 0 |
3 | 0ms | 292kb | Incorect | 0 | 0 |
4 | 4ms | 324kb | Incorect | 0 | 0 |
5 | 32ms | 464kb | Incorect | 0 | 0 |
6 | 68ms | 632kb | Incorect | 0 |
7 | 128ms | 1464kb | Incorect | 0 |
8 | 124ms | 1112kb | Incorect | 0 |
9 | 144ms | 984kb | Incorect | 0 |
10 | 136ms | 976kb | Incorect | 0 |
Punctaj total | 10 |