Pagini recente » Borderou de evaluare (job #1534547) | Borderou de evaluare (job #1511158) | Borderou de evaluare (job #1272620) | Borderou de evaluare (job #2309183) | Borderou de evaluare (job #1255352)
Borderou de evaluare (job #1255352)
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 | 868kb | OK | 10 |
2 | 0ms | 876kb | Incorect | 0 |
3 | 0ms | 908kb | Incorect | 0 |
4 | 4ms | 916kb | Incorect | 0 |
5 | 36ms | 1248kb | Incorect | 0 |
6 | 60ms | 1580kb | Incorect | 0 |
7 | 112ms | 1816kb | Incorect | 0 |
8 | 68ms | 2000kb | Incorect | 0 |
9 | 308ms | 3776kb | Incorect | 0 |
10 | 376ms | 4556kb | Incorect | 0 |
Punctaj total | 10 |