Pagini recente » Borderou de evaluare (job #2310005) | Borderou de evaluare (job #1111435) | Borderou de evaluare (job #1343816) | Borderou de evaluare (job #1012514) | Borderou de evaluare (job #1481117)
Borderou de evaluare (job #1481117)
Raport evaluator
Compilare:
user.cpp: In member function ‘void GRAPH::Dijkstra(int, std::vector<int>&)’:
user.cpp:43:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<graph[nod.first].size(); i++)
^
user.cpp:53:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2; i<dist.size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:61: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);
^
user.cpp:62: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);
^
user.cpp:64:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:71: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 | 0ms | 908kb | Incorect | 0 |
| 2 | 0ms | 904kb | OK | 10 |
| 3 | 0ms | 936kb | Incorect | 0 |
| 4 | 0ms | 948kb | Incorect | 0 |
| 5 | 20ms | 1260kb | Incorect | 0 |
| 6 | 44ms | 1580kb | Incorect | 0 |
| 7 | 60ms | 1584kb | Incorect | 0 |
| 8 | 72ms | 1852kb | OK | 10 |
| 9 | 220ms | 3812kb | Incorect | 0 |
| 10 | 288ms | 4596kb | Incorect | 0 |
| Punctaj total | 20 |