Pagini recente » Borderou de evaluare (job #938433) | Borderou de evaluare (job #750418) | Borderou de evaluare (job #2382024) | Borderou de evaluare (job #1162785) | Borderou de evaluare (job #1832586)
Borderou de evaluare (job #1832586)
Raport evaluator
Compilare:
user.cpp: In function ‘void Dijkstra()’:
user.cpp:38:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<Graf[nod].size();i++)
^
user.cpp:36:13: warning: unused variable ‘cost’ [-Wunused-variable]
int cost=(*Heap.begin()).first;
^
user.cpp: In function ‘int main()’:
user.cpp:49: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:50: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: In function ‘void Read()’:
user.cpp:61: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:66: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 | 1804kb | OK | 10 |
2 | 0ms | 1808kb | OK | 10 |
3 | 4ms | 1852kb | OK | 10 |
4 | 4ms | 1868kb | OK | 10 |
5 | 32ms | 2236kb | OK | 10 |
6 | 60ms | 2640kb | OK | 10 |
7 | 80ms | 2828kb | OK | 10 |
8 | Depăşit | 4476kb | Time limit exceeded. | 0 |
9 | 120ms | 3708kb | OK | 10 |
10 | Depăşit | 6440kb | Time limit exceeded. | 0 |
Punctaj total | 80 |