Pagini recente » Borderou de evaluare (job #1598241) | Borderou de evaluare (job #2752703) | Borderou de evaluare (job #130191) | Borderou de evaluare (job #713012) | Borderou de evaluare (job #1255356)
Borderou de evaluare (job #1255356)
Raport evaluator
Compilare:
user.cpp: In member function ‘void Heap::downHeap(int)’:
user.cpp:66:19: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(min2(v[p*2].c,v[p*2+1].c),v[p].c)
^
user.cpp: In function ‘void dijkstra(int)’:
user.cpp:103:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[dad.v].size();i++){
^
user.cpp: In function ‘int main()’:
user.cpp:118: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:119: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:120: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:124:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 872kb | OK | 10 |
2 | 0ms | 868kb | OK | 10 |
3 | 0ms | 904kb | OK | 10 |
4 | 4ms | 916kb | OK | 10 |
5 | 32ms | 1248kb | OK | 10 |
6 | 60ms | 1576kb | OK | 10 |
7 | 112ms | 1812kb | OK | 10 |
8 | 68ms | 1996kb | OK | 10 |
9 | 316ms | 3776kb | OK | 10 |
10 | 372ms | 4556kb | OK | 10 |
Punctaj total | 100 |