Pagini recente » Borderou de evaluare (job #914506) | Borderou de evaluare (job #2637525) | Borderou de evaluare (job #2324089) | Borderou de evaluare (job #118668) | Borderou de evaluare (job #2118838)
Borderou de evaluare (job #2118838)
Raport evaluator
Compilare:
user.cpp: In function ‘void bellman_ford()’:
user.cpp:34:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp: In function ‘int dijkstra()’:
user.cpp:56:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:114:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v[i].size();j++)
^
user.cpp:74:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmcm.in","r",stdin);
^
user.cpp:75:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmcm.out","w",stdout);
^
user.cpp:77:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&e);
^
user.cpp:80:33: 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 | 2924kb | Corect | 10 |
| 2 | 0ms | 2932kb | Corect | 10 |
| 3 | 12ms | 3180kb | Corect | 10 |
| 4 | 8ms | 3172kb | Corect | 10 |
| 5 | 8ms | 3172kb | Corect | 10 |
| 6 | 204ms | 4372kb | Corect | 10 |
| 7 | 192ms | 4568kb | Corect | 10 |
| 8 | 352ms | 4880kb | Corect | 10 |
| 9 | 356ms | 5100kb | Corect | 10 |
| 10 | 348ms | 5104kb | Corect | 10 |
| Punctaj total | 100 |