Borderou de evaluare (job #1486120)

Utilizator Alexa2001Alexa Tudose Alexa2001 Data 13 septembrie 2015 21:26:55
Problema Hercule Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:42:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<a.size()-2;++i) printf("%d ",a[i]); ^ user.cpp:49:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<a.size();++i) ^ user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hercule.in","r",stdin); ^ user.cpp:12:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hercule.out","w",stdout); ^ user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:17:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
180ms272kbGresit.0
232ms264kbKilled by signal 11(SIGSEGV).0
380ms272kbGresit.0
480ms268kbGresit.0
580ms268kbGresit.0
Punctaj total0

Ceva nu functioneaza?