Borderou de evaluare (job #1778803)

Utilizator silkMarin Dragos silk Data 14 octombrie 2016 09:49:51
Problema Lampa Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lampa.in","r",stdin); ^ user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lampa.out","w",stdout); ^ user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&N,&M); ^ user.cpp:18:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s, NMax-1, stdin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms300kbOK1020
20ms300kbOK10
30ms304kbOK1010
40ms304kbOK1010
50ms348kbOK1010
620ms388kbOK100
70ms632kbKilled by signal 11(SIGSEGV).0
84ms880kbOK1030
920ms1288kbOK10
1020ms3264kbOK10
Punctaj total80

Ceva nu functioneaza?