Pagini recente » Borderou de evaluare (job #2864683) | Borderou de evaluare (job #3158702) | Borderou de evaluare (job #2462820) | Borderou de evaluare (job #218756) | Borderou de evaluare (job #1407956)
Borderou de evaluare (job #1407956)
Raport evaluator
Compilare:
user.cpp: In function ‘int findCostXY(int, int)’:
user.cpp:23:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<a[x].size(); i++)
^
user.cpp: In function ‘int bfs(int, int)’:
user.cpp:39:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<a[index].size(); i++)
^
user.cpp:62:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int findCostXY(int, int)’:
user.cpp:31:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘void doTest()’:
user.cpp:77:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&n,&m,&s,&d);
^
user.cpp:81:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&x,&y,&c);
^
user.cpp:92:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nrm);
^
user.cpp:101:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&muchie);
^
user.cpp: In function ‘int main()’:
user.cpp:135:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tempest.in","r",stdin);
^
user.cpp:136:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tempest.out","w",stdout);
^
user.cpp:138:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nrT);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 388ms | 10064kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |