Pagini recente » Borderou de evaluare (job #715049) | Borderou de evaluare (job #369298) | Borderou de evaluare (job #152533) | Borderou de evaluare (job #2277383) | Borderou de evaluare (job #2392593)
Borderou de evaluare (job #2392593)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:24:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<v[nod].size();i++){
~^~~~~~~~~~~~~~
main.cpp: In function 'void bellman(int)':
main.cpp:50:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<v[nod].size();i++){
~^~~~~~~~~~~~~~
main.cpp:44:26: warning: unused variable 'nr' [-Wunused-variable]
int i,nod,vecin,cost,nr;
^~
main.cpp: In function 'void dfs2(int)':
main.cpp:73:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<w[nod].size();i++){
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:97:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d%d",&n,&m);
^
main.cpp:99:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d%d%d",&x,&y,&z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 262kb | Incorect | 0 |
2 | 3ms | 262kb | Incorect | 0 |
3 | 12ms | 524kb | Incorect | 0 |
4 | 13ms | 655kb | Incorect | 0 |
5 | 17ms | 655kb | Incorect | 0 |
6 | 17ms | 786kb | Incorect | 0 |
7 | 17ms | 786kb | Incorect | 0 |
8 | 17ms | 786kb | Incorect | 0 |
9 | 16ms | 786kb | Incorect | 0 |
10 | 16ms | 655kb | Incorect | 0 |
Punctaj total | 0 |