Borderou de evaluare (job #1975936)

Utilizator TESTHARD123TEST CENTRE TESTHARD123 Data 2 mai 2017 15:22:54
Problema Bifo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘char solve(int)’: user.cpp:87:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:91:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bifo.in","r",stdin); ^ user.cpp:92:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bifo.out","w",stdout); ^ user.cpp:94:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(A + 1); gets(B + 1); ^ user.cpp:94:29: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(A + 1); gets(B + 1); ^ user.cpp:96:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &N); ^ user.cpp:120:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(P + 1); ^ /tmp/cc20I6MB.o: In function `main': user.cpp:(.text.startup+0x5b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms672kbOK10
20ms664kbOK10
30ms664kbOK10
40ms668kbOK10
50ms664kbOK10
60ms664kbOK10
70ms668kbOK10
80ms672kbOK10
90ms664kbOK10
100ms672kbOK10
Punctaj total100

Ceva nu functioneaza?