Pagini recente » Borderou de evaluare (job #1558183) | Borderou de evaluare (job #145320) | Borderou de evaluare (job #2546812) | Borderou de evaluare (job #573227) | Borderou de evaluare (job #1480659)
Borderou de evaluare (job #1480659)
Raport evaluator
Compilare:
user.cpp: In member function ‘void GRAPH::Dijkstra(int, std::vector<int>&)’:
user.cpp:33:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<graph[nod.first].size(); i++)
^
user.cpp:43: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:51: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:52: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:54: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:61: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 | OK | 10 |
2 | 0ms | 908kb | OK | 10 |
3 | 0ms | 944kb | OK | 10 |
4 | 0ms | 956kb | OK | 10 |
5 | 20ms | 1252kb | OK | 10 |
6 | 40ms | 1576kb | OK | 10 |
7 | 56ms | 1584kb | OK | 10 |
8 | 72ms | 1856kb | OK | 10 |
9 | 204ms | 3712kb | OK | 10 |
10 | 288ms | 4752kb | OK | 10 |
Punctaj total | 100 |