Pagini recente » Borderou de evaluare (job #2080831) | Borderou de evaluare (job #1056674) | Borderou de evaluare (job #3026157) | Borderou de evaluare (job #2307518) | Borderou de evaluare (job #1748750)
Borderou de evaluare (job #1748750)
Raport evaluator
Compilare:
user.cpp: In function ‘void heapup(int)’:
user.cpp:29:11: warning: unused variable ‘aux’ [-Wunused-variable]
int j,aux;
^
user.cpp: In function ‘int heapout()’:
user.cpp:40:11: warning: unused variable ‘k’ [-Wunused-variable]
int j,k,i=1;
^
user.cpp: In function ‘int main()’:
user.cpp:57:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,a,b;
^
user.cpp:55:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.in","r",stdin);
^
user.cpp:56:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.out","w",stdout);
^
user.cpp:58:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:65:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&a,&(auxve.nod),&(auxve.cost));
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 856kb | OK | 10 |
| 2 | 0ms | 860kb | OK | 10 |
| 3 | 0ms | 888kb | OK | 10 |
| 4 | 0ms | 896kb | OK | 10 |
| 5 | 24ms | 1260kb | OK | 10 |
| 6 | 44ms | 1592kb | OK | 10 |
| 7 | 60ms | 1880kb | OK | 10 |
| 8 | 76ms | 2300kb | OK | 10 |
| 9 | 220ms | 3720kb | OK | 10 |
| 10 | 288ms | 4516kb | OK | 10 |
| Punctaj total | 100 |