Pagini recente » Borderou de evaluare (job #934580) | Borderou de evaluare (job #2884068) | Borderou de evaluare (job #607489) | Borderou de evaluare (job #1450547) | Borderou de evaluare (job #1658541)
Borderou de evaluare (job #1658541)
Raport evaluator
Compilare:
user.cpp: In function ‘void bellman(int, int)’:
user.cpp:26: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:55:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<graf[ crt_nod ].size(); i++)
^
user.cpp:40:21: warning: variable ‘crt_cost’ set but not used [-Wunused-but-set-variable]
int i, crt_nod, crt_cost, urm_nod, urm_cost;
^
user.cpp: In function ‘int main()’:
user.cpp:79:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, x, y, z, w;
^
user.cpp:77: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:78: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:80: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:83: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 | 324kb | OK | 10 | 10 |
2 | 0ms | 340kb | OK | 10 | 10 |
3 | 0ms | 504kb | OK | 10 | 10 |
4 | 0ms | 516kb | OK | 10 | 10 |
5 | 0ms | 512kb | OK | 10 | 10 |
6 | Depăşit | 1236kb | Time limit exceeded. | 0 | 0 |
7 | Depăşit | 1232kb | Time limit exceeded. | 0 |
8 | Depăşit | 1936kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 1924kb | Time limit exceeded. | 0 |
10 | Depăşit | 1936kb | Time limit exceeded. | 0 |
Punctaj total | 50 |