Borderou de evaluare (job #1644165)

Utilizator mariakKapros Maria mariak Data 9 martie 2016 21:47:53
Problema Logic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void arity(int)’: user.cpp:78:17: warning: NULL used in arithmetic [-Wpointer-arith] while(*p != NULL) ^ user.cpp: In function ‘int main()’: user.cpp:111:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:116:31: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s[0]), gets(s[1]); ^ user.cpp:116:31: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] /tmp/ccUzFaCo.o: In function `main': user.cpp:(.text.startup+0x4d): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms416kbOK10
20ms420kbIncorect0
30ms420kbIncorect0
40ms420kbIncorect0
512ms420kbIncorect0
60ms424kbIncorect0
70ms424kbIncorect0
80ms424kbOK10
90ms416kbIncorect0
100ms420kbIncorect0
Punctaj total20

Ceva nu functioneaza?