Borderou de evaluare (job #1658713)
Raport evaluator
Compilare:
user.cpp: In function ‘void bellman(int, int)’:
user.cpp:27:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<graf[crt].size(); i++)
^
user.cpp: In function ‘bool dijkstra(int, int)’:
user.cpp:59:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<graf[ crt_nod ].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:88:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, x, y, z, w;
^
user.cpp:86:33: 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:87:35: 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:89:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &n, &m, &st, &fin);
^
user.cpp:92:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &x, &y, &z, &w);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 316kb | OK | 10 | 10 |
2 | 0ms | 340kb | OK | 10 | 10 |
3 | 0ms | 500kb | OK | 10 | 10 |
4 | 0ms | 512kb | OK | 10 | 10 |
5 | 0ms | 516kb | OK | 10 | 10 |
6 | 216ms | 1260kb | OK | 10 | 20 |
7 | 236ms | 1260kb | OK | 10 |
8 | 556ms | 1908kb | OK | 10 | 30 |
9 | 396ms | 1936kb | OK | 10 |
10 | 520ms | 1928kb | OK | 10 |
Punctaj total | 100 |