Pagini recente » Borderou de evaluare (job #837524) | Borderou de evaluare (job #2301588) | Borderou de evaluare (job #576316) | Borderou de evaluare (job #2734224) | Borderou de evaluare (job #1480655)
Borderou de evaluare (job #1480655)
Raport evaluator
Compilare:
user.cpp: In member function ‘void GRAPH::Dijkstra(int, std::vector<int>&)’:
user.cpp:35:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<graph[nod.first].size(); i++)
^
user.cpp:45: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:53: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:54: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:56:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:63:30: 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 | 908kb | OK | 10 |
3 | 0ms | 936kb | Incorect | 0 |
4 | 0ms | 952kb | Incorect | 0 |
5 | 20ms | 1260kb | Incorect | 0 |
6 | 44ms | 1620kb | Incorect | 0 |
7 | 60ms | 1584kb | Incorect | 0 |
8 | 68ms | 1856kb | OK | 10 |
9 | 224ms | 3808kb | Incorect | 0 |
10 | 288ms | 4856kb | Incorect | 0 |
Punctaj total | 20 |