Borderou de evaluare (job #1359105)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 24 februarie 2015 21:17:57
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/cc3QXo7E.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
10ms680kbOK10
20ms676kbOK10
30ms680kbOK10
40ms676kbOK10
50ms676kbOK10
60ms672kbOK10
70ms676kbOK10
80ms684kbOK10
90ms676kbOK10
100ms684kbOK10
Punctaj total100

Ceva nu functioneaza?