Pagini recente » Borderou de evaluare (job #2271521) | Borderou de evaluare (job #1871164) | Borderou de evaluare (job #1871231) | Borderou de evaluare (job #1871184) | Borderou de evaluare (job #2262044)
Borderou de evaluare (job #2262044)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra(int)':
main.cpp:21:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<graph_orientat[start_node].size();i++)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:33:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<graph_orientat[current_node].size();i++)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:45:39: 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);
^
main.cpp:46:41: 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);
^
main.cpp:49:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:53:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a, &b, &c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 1310kb | OK | 10 |
| 2 | 6ms | 1310kb | Incorect | 0 |
| 3 | 7ms | 1310kb | Incorect | 0 |
| 4 | 7ms | 1441kb | Incorect | 0 |
| 5 | 22ms | 1835kb | Incorect | 0 |
| 6 | 46ms | 2490kb | Incorect | 0 |
| 7 | 61ms | 2879kb | Incorect | 0 |
| 8 | 134ms | 4833kb | Incorect | 0 |
| 9 | 95ms | 4190kb | Incorect | 0 |
| 10 | 269ms | 7589kb | Incorect | 0 |
| Punctaj total | 10 |