Pagini recente » Borderou de evaluare (job #1362902) | Borderou de evaluare (job #1367578) | Borderou de evaluare (job #1338431) | Borderou de evaluare (job #1745237) | Borderou de evaluare (job #1885079)
Borderou de evaluare (job #1885079)
Raport evaluator
Compilare:
user.cpp: In function ‘void bellmanford()’:
user.cpp:44:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<G[node].size(); ++i)
^
user.cpp: In function ‘bool dijkstra()’:
user.cpp:82:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<G[node.idx].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:124:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fmcm.in", "r", stdin);
^
user.cpp:125:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fmcm.out", "w", stdout);
^
user.cpp:129:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &n, &m, &source, &sink);
^
user.cpp:133:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &x, &y, &c, &p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 324kb | OK | 10 | 10 |
2 | 0ms | 344kb | OK | 10 | 10 |
3 | 0ms | 508kb | OK | 10 | 10 |
4 | 0ms | 504kb | OK | 10 | 10 |
5 | 0ms | 516kb | OK | 10 | 10 |
6 | 188ms | 1252kb | OK | 10 | 20 |
7 | 204ms | 1256kb | OK | 10 |
8 | 492ms | 1892kb | OK | 10 | 30 |
9 | 340ms | 1948kb | OK | 10 |
10 | 436ms | 1892kb | OK | 10 |
Punctaj total | 100 |