Pagini recente » Borderou de evaluare (job #3280576) | Borderou de evaluare (job #960306) | Borderou de evaluare (job #2954749) | Borderou de evaluare (job #2804403) | Borderou de evaluare (job #1599493)
Borderou de evaluare (job #1599493)
Raport evaluator
Compilare:
user.cpp: In function ‘void Dijkstra(int)’:
user.cpp:27:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < ad[nod].size(); ++i) if (D[nod] + ad[nod][i].second < D[ad[nod][i].first])
^
user.cpp: In function ‘int main()’:
user.cpp:39:37: 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:40:39: 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:42:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:45:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&x,&y,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1096kb | OK | 10 |
2 | 0ms | 1096kb | OK | 10 |
3 | 0ms | 1128kb | OK | 10 |
4 | 0ms | 1144kb | OK | 10 |
5 | 20ms | 1388kb | OK | 10 |
6 | 40ms | 1664kb | OK | 10 |
7 | 56ms | 1792kb | OK | 10 |
8 | 68ms | 2048kb | OK | 10 |
9 | 200ms | 3680kb | OK | 10 |
10 | 284ms | 4460kb | OK | 10 |
Punctaj total | 100 |