Pagini recente » Borderou de evaluare (job #1542557) | Borderou de evaluare (job #1104948) | Borderou de evaluare (job #1698661) | Borderou de evaluare (job #3126732) | Borderou de evaluare (job #1482036)
Borderou de evaluare (job #1482036)
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:56: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:64: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:65: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:67: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:74: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 | 904kb | OK | 10 |
2 | 0ms | 908kb | OK | 10 |
3 | 0ms | 936kb | OK | 10 |
4 | 0ms | 948kb | OK | 10 |
5 | 20ms | 1260kb | OK | 10 |
6 | 44ms | 1616kb | OK | 10 |
7 | 64ms | 1584kb | OK | 10 |
8 | 76ms | 1848kb | OK | 10 |
9 | 216ms | 3808kb | OK | 10 |
10 | 284ms | 4860kb | OK | 10 |
Punctaj total | 100 |