Pagini recente » Profil | Borderou de evaluare (job #2299128) | Borderou de evaluare (job #1351596) | Cod sursa (job #2280974) | Borderou de evaluare (job #1516496)
Borderou de evaluare (job #1516496)
Raport evaluator
Compilare:
user.cpp: In function ‘void Dijkstra()’:
user.cpp:41:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<Graf[nod].size();i++)
^
user.cpp:38:13: warning: unused variable ‘cost’ [-Wunused-variable]
int cost=(*Heap.begin()).first;
^
user.cpp: In function ‘void Read()’:
user.cpp:17: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:20: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);
^
user.cpp: In function ‘int main()’:
user.cpp:62: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:63: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);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1804kb | OK | 10 |
| 2 | 0ms | 1812kb | OK | 10 |
| 3 | 4ms | 1848kb | OK | 10 |
| 4 | 4ms | 1860kb | OK | 10 |
| 5 | 28ms | 2232kb | OK | 10 |
| 6 | 56ms | 2636kb | OK | 10 |
| 7 | 72ms | 2832kb | OK | 10 |
| 8 | 84ms | 3100kb | OK | 10 |
| 9 | 288ms | 5420kb | OK | 10 |
| 10 | 380ms | 6432kb | OK | 10 |
| Punctaj total | 100 |